fix(cgi-bin): move error string key to 0307

main
Tsu-ba-me 4 years ago
parent 4a3c364724
commit 9fda3af2ce
  1. 9
      cgi-bin/get_anvils
  2. 1
      share/words.xml

@ -36,14 +36,7 @@ my $cookie_problem = $anvil->Account->read_cookies();
# Don't do anything data-related if the user is not logged in. # Don't do anything data-related if the user is not logged in.
if ($cookie_problem) if ($cookie_problem)
{ {
$anvil->Log->entry({ $anvil->Log->entry({ source => $THIS_FILE, line => __LINE__, level => 0, 'print' => 1, priority => "err", key => "error_0307" });
source => $THIS_FILE,
line => __LINE__,
level => 0,
'print' => 1,
priority => "err",
key => "error_0305"
});
$anvil->nice_exit({ exit_code => 1 }); $anvil->nice_exit({ exit_code => 1 });
} }

@ -418,6 +418,7 @@ The attempt to start the servers appears to have failed. The return code '0' was
<key name="error_0304">Failed to parse the request body: [#!variable!request_body_string!#]. Reason: [#!variable!json_decode_error!#]</key> <key name="error_0304">Failed to parse the request body: [#!variable!request_body_string!#]. Reason: [#!variable!json_decode_error!#]</key>
<key name="error_0305">Unable to connect to the database, unable to manage a server at this time.</key> <key name="error_0305">Unable to connect to the database, unable to manage a server at this time.</key>
<key name="error_0306">Unable to connect to the database, unable to provision a server at this time.</key> <key name="error_0306">Unable to connect to the database, unable to provision a server at this time.</key>
<key name="error_0307">Failed to perform requested task(s) because the requester is not authenticated.</key>
<!-- Files templates --> <!-- Files templates -->
<!-- NOTE: Translating these files requires an understanding of which lines are translatable --> <!-- NOTE: Translating these files requires an understanding of which lines are translatable -->

Loading…
Cancel
Save