mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -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:
|
try:
|
||||||
return self._do__call__(*args, **kargs)
|
return self._do__call__(*args, **kargs)
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
appendStr(e, '\n-->Functor creation stack (%s): %s' % (
|
print '-->Functor creation stack (%s): %s' % (
|
||||||
self.__name__, self.getCreationStackTraceCompactStr()))
|
self.__name__, self.getCreationStackTraceCompactStr())
|
||||||
raise
|
raise
|
||||||
|
|
||||||
__call__ = _do__call__
|
__call__ = _do__call__
|
||||||
|
Loading…
x
Reference in New Issue
Block a user