Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/cloudstack
/ formatExceptionInfo
Function
formatExceptionInfo
python/lib/cloudutils/cloudException.py:39–45 ·
view source on GitHub ↗
(maxTBlevel=5)
Source
from the content-addressed store, hash-verified
37
return
self.errMsg
38
39
def
formatExceptionInfo(maxTBlevel=5):
40
cla, exc, trbk = sys.exc_info()
41
excTb = traceback.format_tb(trbk, maxTBlevel)
42
msg = str(exc) +
"\n"
43
for
tb in excTb:
44
msg += tb
45
return
msg
Callers
11
run
Method · 0.85
__init__
Method · 0.85
configuration
Method · 0.85
restore
Method · 0.85
restore
Method · 0.85
restore
Method · 0.85
restore
Method · 0.85
config
Method · 0.85
restore
Method · 0.85
restore
Method · 0.85
restore
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected