mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
libplugin: don't spew datastore errors to LOG_DEBUG.
People get upset, especially as our "not found" error can be a bit hard to read! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> See-also: #5990
This commit is contained in:
committed by
Alex Myers
parent
dd9400df99
commit
70aee52903
@@ -1499,8 +1499,8 @@ def test_libplugin(node_factory):
|
||||
|
||||
# Test startup
|
||||
assert l1.daemon.is_in_log("test_libplugin initialised!")
|
||||
assert l1.daemon.is_in_log("String name from datastore: NOT FOUND")
|
||||
assert l1.daemon.is_in_log("Hex name from datastore: NOT FOUND")
|
||||
assert l1.daemon.is_in_log("String name from datastore:.*token has no index 0")
|
||||
assert l1.daemon.is_in_log("Hex name from datastore:.*token has no index 0")
|
||||
|
||||
# This will look on datastore for default, won't find it.
|
||||
assert l1.rpc.call("helloworld") == {"hello": "NOT FOUND"}
|
||||
@@ -1519,7 +1519,7 @@ def test_libplugin(node_factory):
|
||||
# yet whether strings are allowed:
|
||||
l1.daemon.wait_for_log(r"test_libplugin: [0-9]*\[OUT\]")
|
||||
|
||||
l1.daemon.wait_for_log("String name from datastore: NOT FOUND")
|
||||
l1.daemon.wait_for_log("String name from datastore:.*object does not have member string")
|
||||
l1.daemon.wait_for_log("Hex name from datastore: 00010203")
|
||||
|
||||
# Test commands
|
||||
|
||||
Reference in New Issue
Block a user