Skip to content

Commit 9fe5fb5

Browse files
authored
Merge pull request #10 from htgoebel/patch-1
Improve log message for unknown timezone
2 parents d5c15b5 + 84cf7d1 commit 9fe5fb5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vobject/icalendar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def getTzid(tzid, smart=True):
8080
tz = timezone(tzid)
8181
registerTzid(toUnicode(tzid), tz)
8282
except UnknownTimeZoneError as e:
83-
logging.error(e)
83+
logging.error("Unknown Timezone: %r", e.args[0])
8484
except ImportError as e:
8585
logging.error(e)
8686
return tz

0 commit comments

Comments
 (0)