mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
print Functor creation stacks before the exception stacktrace
This commit is contained in:
parent
a4b51594b8
commit
be5b01b85e
@ -921,8 +921,8 @@ class Functor:
|
||||
try:
|
||||
return self._do__call__(*args, **kargs)
|
||||
except Exception, e:
|
||||
appendStr(e, '\n-->Functor creation stack (%s): %s' % (
|
||||
self.__name__, self.getCreationStackTraceCompactStr()))
|
||||
print '-->Functor creation stack (%s): %s' % (
|
||||
self.__name__, self.getCreationStackTraceCompactStr())
|
||||
raise
|
||||
|
||||
__call__ = _do__call__
|
||||
|
Loading…
x
Reference in New Issue
Block a user