Skip to content

Commit

Permalink
Change error to warning level in get_event_date_from_question (#535)
Browse files Browse the repository at this point in the history
  • Loading branch information
kongzii authored Oct 29, 2024
1 parent 3072379 commit 7122b9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prediction_market_agent/agents/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def get_event_date_from_question(question: str) -> DatetimeUTC | None:
try:
event_date = DatetimeUTC.to_datetime_utc(event_date_str)
except ValueError:
logger.error(
logger.warning(
f"Could not extract event date from question `{question}`, got `{event_date_str}`."
)
return None
Expand Down

0 comments on commit 7122b9c

Please sign in to comment.