log crashes when passed non-string

Bug #1255933 reported by Stuart Bishop
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Charm Helpers
Fix Released
Wishlist
Jorge Niedbalski

Bug Description

log crashes if its first argument is not a string.

Lets log the repr() if the message is not isinstance(message, basestring) to make it friendlier as a debugging tool.

Tags: cts

Related branches

Stuart Bishop (stub)
Changed in charm-helpers:
importance: Undecided → Wishlist
Revision history for this message
Jorge Niedbalski (niedbalski) wrote :

Linked the fix. Thanks for pointing this.

Changed in charm-helpers:
status: New → Fix Committed
assignee: nobody → Jorge Niedbalski (niedbalski)
Felipe Reyes (freyes)
tags: added: cts
Changed in charm-helpers:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.