Skip to content

Commit

Permalink
handler correctly _decode_mpma_send_decode error
Browse files Browse the repository at this point in the history
  • Loading branch information
Ouziel committed Mar 10, 2025
1 parent 02eaabd commit 4643723
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ def unpack(message):
raise exceptions.UnpackError("invalid asset in mpma send") from e
except ReadError as e:
raise exceptions.UnpackError("truncated data") from e

except Exception as e: # pylint: disable=broad-exception-caught
raise exceptions.UnpackError(f"could not unpack; {e}") from e

Check warning on line 42 in counterparty-core/counterpartycore/lib/messages/versions/mpma.py

View check run for this annotation

Codecov / codecov/patch

counterparty-core/counterpartycore/lib/messages/versions/mpma.py#L41-L42

Added lines #L41 - L42 were not covered by tests
return unpacked


Expand Down

0 comments on commit 4643723

Please sign in to comment.