MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / __init__

Method __init__

gui/characterEditor.py:963–980  ·  view source on GitHub ↗
(self, e)

Source from the content-addressed store, hash-verified

961
962class SkillFetchExceptionHandler:
963 def __init__(self, e):
964 from gui.esiFittings import ESIExceptionHandler
965 exc_type, exc_value, exc_trace = e
966 if config.debug:
967 exc_value = ''.join(traceback.format_exception(exc_type, exc_value, exc_trace))
968 pyfalog.warn(exc_value)
969
970 try:
971 try:
972 raise exc_value
973 except APIException as ex:
974 pyfalog.error(ex)
975 ESIExceptionHandler(ex)
976 except Exception as ex:
977 pyfalog.error(ex)
978 wx.MessageBox(
979 _t("Error fetching skill information"),
980 _t("Error"), wx.ICON_ERROR | wx.STAY_ON_TOP)

Callers

nothing calls this directly

Calls 2

ESIExceptionHandlerClass · 0.90
_tFunction · 0.50

Tested by

no test coverage detected