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

Class SkillFetchExceptionHandler

gui/characterEditor.py:962–980  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

960
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 2

refreshAPICallbackMethod · 0.90
fetchCallbackMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected