Permalink
Browse files

examples: python: StatsdClient.send() returns outcome

It's useful but unused.
  • Loading branch information...
1 parent 9b5fd68 commit 30292229fedd43a0823fc84549215d86b72a2c26 @SaveTheRbtz committed Dec 9, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 examples/python_example.py
@@ -72,7 +72,8 @@ def send(self, data, sample_rate=1):
import sys
import traceback
print >>sys.stderr, "Unexpected error: ", traceback.format_exc()
- pass # we don't care
+ return False
+ return True
if __name__=="__main__":

0 comments on commit 3029222

Please sign in to comment.