Skip to content

Commit

Permalink
chore: add detail to TypeError (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler authored Aug 27, 2024
1 parent f52de7e commit a4e816f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dank_mids/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def decode_result(self, method: Optional[RPCEndpoint] = None, _caller = None) ->
if method:
_dict_responses.add(method)
return AttributeDict(decoded)
raise TypeError(f"type {type(decoded)} is not supported.", decoded)
raise TypeError(f"type {type(decoded)} is not supported. method: {method} decoded: {decoded}")


class Response(PartialResponse):
Expand Down

0 comments on commit a4e816f

Please sign in to comment.