[pypy-svn] r50280 - pypy/dist/pypy/rpython/lltypesystem

fijal at codespeak.net fijal at codespeak.net
Thu Jan 3 10:39:48 CET 2008


Author: fijal
Date: Thu Jan  3 10:39:48 2008
New Revision: 50280

Modified:
   pypy/dist/pypy/rpython/lltypesystem/rffi.py
Log:
Be more verbose


Modified: pypy/dist/pypy/rpython/lltypesystem/rffi.py
==============================================================================
--- pypy/dist/pypy/rpython/lltypesystem/rffi.py	(original)
+++ pypy/dist/pypy/rpython/lltypesystem/rffi.py	Thu Jan  3 10:39:48 2008
@@ -155,7 +155,7 @@
         try:
             return callable(*args)
         except Exception, e:
-            os.write(2, "Warning: uncatched exception: %s" % str(e))
+            os.write(2, "Warning: uncatched exception in callback: %s %s" % (callable, str(e)))
             return errorcode
     return wrapper
 _make_wrapper_for._annspecialcase_ = 'specialize:memo'



More information about the Pypy-commit mailing list