Skip to content

Commit

Permalink
chore: change logger warning to exception
Browse files Browse the repository at this point in the history
  • Loading branch information
jrriehl committed Oct 5, 2023
1 parent a04f464 commit 159f09e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/src/uagents/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def __init__(
# define default error message handler
@self.on_message(ErrorMessage)
async def _handle_error_message(ctx: Context, sender: str, msg: ErrorMessage):
ctx.logger.warning(f"Received error message from {sender}: {msg.error}")
ctx.logger.exception(f"Received error message from {sender}: {msg.error}")

def _initialize_wallet_and_identity(self, seed, name):
"""
Expand Down

0 comments on commit 159f09e

Please sign in to comment.