Permalink
Browse files

Http errors need to output through logger

  • Loading branch information...
1 parent c426b7d commit b08227e45f89eb7d4e959d43dea9860e36406eb4 Adam Ballai committed Jan 26, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 twilio-emulator.py
View
@@ -84,7 +84,7 @@ def getResponse(url, method, digits):
req = urllib2.Request(url, data)
fd = urllib2.urlopen(req)
except IOError, e:
- print '[Not Found]', e
+ logger.error('[Not Found] %s' % e)
exit_handler()
return fd.read()

0 comments on commit b08227e

Please sign in to comment.