# HG changeset patch # User Santeri Piippo # Date 1404170331 -10800 # Node ID 3ef436e7d7c1a61033d3b1b31234fc6fc2e0d664 # Parent c25944cac3e6e307f853730e30cbbb5df5d79074 - updated error diff -r c25944cac3e6 -r 3ef436e7d7c1 cobalt.py --- a/cobalt.py Tue Jul 01 02:16:34 2014 +0300 +++ b/cobalt.py Tue Jul 01 02:18:51 2014 +0300 @@ -559,7 +559,8 @@ self.privmsg (replyto, '%s degrees celsius, %s degrees fahrenheit' %(celvalue, fahrvalue)) else: - raise logical_exception ('unknown valuetype, expected one of: degrees, radians') + raise logical_exception ('unknown valuetype, expected one of: degrees, radians (angle conversion), ' + + 'celsius, fahrenheit (temperature conversion)') # else: # raise logical_exception ("unknown command `.%s`" % command)