Permalink
Browse files

examples: python: print exceptio to stderr

  • Loading branch information...
1 parent 798a7f7 commit 2c09c3b8ea556d6eb9ec4a8addbb827d80879715 @SaveTheRbtz committed Dec 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/python_example.py
@@ -71,7 +71,7 @@ def send(self, data, sample_rate=1):
except:
import sys
from pprint import pprint
- print "Unexpected error:", pprint(sys.exc_info())
+ print >>sys.stderr, "Unexpected error:", pprint(sys.exc_info())
pass # we don't care

0 comments on commit 2c09c3b

Please sign in to comment.