Skip to content

Commit

Permalink
Improve log message for unknown timezone
Browse files Browse the repository at this point in the history
Closes skarim#174.
  • Loading branch information
htgoebel authored and da4089 committed Jan 3, 2025
1 parent 69ad0b5 commit 2b7f6d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vobject/icalendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def getTzid(tzid, smart=True):
tz = timezone(tzid)
registerTzid(toUnicode(tzid), tz)
except UnknownTimeZoneError as e:
logging.error(e)
logging.error("Unknown Timezone: %r", e.args[0])
except ImportError as e:
logging.error(e)
return tz
Expand Down

0 comments on commit 2b7f6d7

Please sign in to comment.