Improve handling for exceptions, output more information so we can find and fix problems.
This commit is contained in:
@@ -114,10 +114,10 @@ class CharacterSelection(wx.Panel):
|
||||
if charName:
|
||||
try:
|
||||
sChar.apiFetch(self.getActiveCharacter(), charName)
|
||||
except:
|
||||
except Exception as e:
|
||||
# can we do a popup, notifying user of API error?
|
||||
pyfalog.error("API fetch error")
|
||||
pass
|
||||
pyfalog.error(e)
|
||||
self.refreshCharacterList()
|
||||
|
||||
def charChanged(self, event):
|
||||
|
||||
Reference in New Issue
Block a user