- post the raw-form error if unable to decipher

Sun, 05 Oct 2014 23:39:58 +0300

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Sun, 05 Oct 2014 23:39:58 +0300
changeset 44
616743868d4a
parent 43
637cee1d89f0
child 45
fdfcdf405b16

- post the raw-form error if unable to decipher

cobalt.py file | annotate | diff | comparison | revisions
--- a/cobalt.py	Sun Oct 05 23:38:35 2014 +0300
+++ b/cobalt.py	Sun Oct 05 23:39:58 2014 +0300
@@ -1002,7 +1002,7 @@
 				if result[0]:
 					self.privmsg (replyto, 'error: %s' % result[1])
 				else:
-					self.privmsg (replyto, 'error (unable to decipher error message)')
+					self.privmsg (replyto, 'error: %s' % `e`)
 				#fi
 			#tried
 #		else:

mercurial