mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-04 06:44:24 +01:00
pyln: Add a traceback if a hook or rpc method fails
This commit is contained in:
@@ -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(),
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user