Skip to content

Commit

Permalink
Fixed a bad log string.
Browse files Browse the repository at this point in the history
Signed-off-by: Madison Kelly <[email protected]>
  • Loading branch information
digimer-bot committed Oct 3, 2024
1 parent b3cfb20 commit ab283b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Anvil/Tools/Database.pm
Original file line number Diff line number Diff line change
Expand Up @@ -17709,7 +17709,7 @@ sub query
else
{
# Warn that we switched.
$anvil->Log->entry({source => $THIS_FILE, line => __LINE__, level => 0, priority => "alert", key => "log_0073", variables => {
$anvil->Log->entry({source => $THIS_FILE, line => __LINE__, level => 0, priority => "alert", key => "log_0131", variables => {
old_uuid => $old_uuid,
new_uuid => $uuid,
}});
Expand Down
2 changes: 1 addition & 1 deletion share/words.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1928,7 +1928,7 @@ The database connection error was:
<key name="log_0128">Firewalld was not running, and 'sys::daemons::restart_firewalld = 0' is set. NOT starting it.</key>
<key name="log_0129"><![CDATA[<all>]]></key> <!-- Used when logging DB writes to all DBs -->
<key name="log_0130"><![CDATA[[ Error ] - The method: [#!variable!method!#] was called and the parameter: [#!variable!parameter!#] was passed an invalid UUID: [#!variable!uuid!#].]]></key>
<key name="log_0131">#!free!#</key>
<key name="log_0131"><![CDATA[[ Error ] - The method Database->query() was asked to query the database with UUID: [#!variable!old_uuid!#], but it's connection is gone. SWitching to read from: [#!variable!new_uuid!#].]]></key>
<key name="log_0132">Connected to: [#!data!sys::database::connections!#] database(s).</key>
<key name="log_0133">#!free!#</key>
<key name="log_0134">The host UUID: [#!variable!uuid!#] does not appear to be a valid UUID. Please check the contents of: [#!data!path::data::host_uuid!#] or the output from: [dmidecode --string system-uuid]. Note that some mainboards will report their UUID as all-0. If this is the case, manually create the 'host.uuid' file with a UUID created by 'uuidgen'.</key>
Expand Down

0 comments on commit ab283b3

Please sign in to comment.