Permalink
Browse files

MB-100: print time in future.set_exception()

Change-Id: Icc1a7877cc53018b260ac679ab96d106c0ac5f3e
Reviewed-on: http://review.couchbase.org/24194
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Iryna Mironava <irynamironava@yandex.ru>
  • Loading branch information...
1 parent 2cc3d20 commit 314f706a02ec00b9b553d2372e8696768d68528d @andreibaranouski andreibaranouski committed with andreibaranouski Jan 25, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/tasks/future.py
View
2 lib/tasks/future.py
@@ -1,6 +1,7 @@
import logging
import threading
import traceback
+import time
# Possible future states (for internal use by the futures package).
PENDING = 'PENDING'
@@ -260,4 +261,5 @@ def set_exception(self, exception):
waiter.add_exception(self)
self._condition.notify_all()
print traceback.extract_stack()
+ print time.ctime()
self._invoke_callbacks()

0 comments on commit 314f706

Please sign in to comment.