We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e21de6 commit dff0ecbCopy full SHA for dff0ecb
didcomm_messaging/quickstart.py
@@ -213,7 +213,10 @@ async def send_http_message(
213
214
# Raise an exception if the destination did not return success
215
if resp.status != 200:
216
- raise Exception("Destination responded with error: %s" % packed)
+ raise Exception(
217
+ "Destination responded with error: code=%s message=%s"
218
+ % (resp.status, packed)
219
+ )
220
221
# If the HTTP enpoint responded with a message, decode it
222
if len(packed) > 0:
0 commit comments