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
@@ -574,8 +574,11 @@ static const char *init(struct plugin *p,
|
||||
|
||||
cleantimer = plugin_timer(p, time_from_sec(cycle_seconds), do_clean_timer, NULL);
|
||||
|
||||
/* We don't care if this fails (it usually does, since entries
|
||||
* don't exist! */
|
||||
for (enum subsystem i = 0; i < NUM_SUBSYSTEM; i++) {
|
||||
rpc_scan_datastore_str(plugin, datastore_path(tmpctx, i, "num"),
|
||||
rpc_scan_datastore_str(tmpctx, plugin,
|
||||
datastore_path(tmpctx, i, "num"),
|
||||
JSON_SCAN(json_to_u64, &total_cleaned[i]));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user