mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
pyln: Add a traceback if a hook or rpc method fails
This commit is contained in:
parent
b5c9dcab5a
commit
be9b55fcb5
@ -88,6 +88,7 @@ class Request(dict):
|
||||
"message": "Error while processing {method}: {exc}"
|
||||
.format(method=self.method, exc=str(exc)),
|
||||
# 'data' field "may be omitted."
|
||||
"traceback": traceback.format_exc(),
|
||||
},
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user