You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
node: Make translations of fatal errors consistent
The extra `bilingual_str` argument of the fatal error notifications and
`node::AbortNode()` is often unused and when used usually contains the
same string as the message argument. It also seems to be confusing,
since it is not consistently used for errors requiring user action. For
example some assumeutxo fatal errors require the user to do something,
but are not translated.
So simplify the fatal error and abort node interfaces by only passing a
translated string. This slightly changes the fatal errors displayed to
the user.
Also de-duplicate the abort error log since it is repeated in noui.cpp.
Copy file name to clipboardExpand all lines: test/functional/feature_abortnode.py
+1-1
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ def run_test(self):
36
36
37
37
# Check that node0 aborted
38
38
self.log.info("Waiting for crash")
39
-
self.nodes[0].wait_until_stopped(timeout=5, expect_error=True, expected_stderr="Error: A fatal internal error occurred, see debug.log for details")
39
+
self.nodes[0].wait_until_stopped(timeout=5, expect_error=True, expected_stderr="Error: A fatal internal error occurred, see debug.log for details: Failed to disconnect block.")
40
40
self.log.info("Node crashed - now verifying restart fails")
expected_error_msg=f"Error: A fatal internal error occurred, see debug.log for details"
137
+
expected_error_msg=f"Error: A fatal internal error occurred, see debug.log for details: Assumeutxo data not found for the given blockhash '7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a7a'."
138
138
error_details=f"Assumeutxo data not found for the given blockhash"
0 commit comments