(self, e)
| 961 | |
| 962 | class 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) |
nothing calls this directly
no test coverage detected