Browse Source

pyln: Add a traceback if a hook or rpc method fails

paymod-03
Christian Decker 5 years ago
parent
commit
be9b55fcb5
  1. 1
      contrib/pyln-client/pyln/client/plugin.py

1
contrib/pyln-client/pyln/client/plugin.py

@ -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…
Cancel
Save