Roll up all changes from #962 as the base has been massively changed by code cleanups. Rename our logging to a universal pyfalog to avoid shadowing either Logging or Logbook loggers
This commit is contained in:
@@ -24,6 +24,8 @@ import gui.globalEvents as GE
|
||||
import gui.mainFrame
|
||||
from service.character import Character
|
||||
from service.fit import Fit
|
||||
from logbook import Logger
|
||||
pyfalog = Logger(__name__)
|
||||
|
||||
|
||||
class CharacterSelection(wx.Panel):
|
||||
@@ -114,6 +116,7 @@ class CharacterSelection(wx.Panel):
|
||||
sChar.apiFetch(self.getActiveCharacter(), charName)
|
||||
except:
|
||||
# can we do a popup, notifying user of API error?
|
||||
pyfalog.error("API fetch error")
|
||||
pass
|
||||
self.refreshCharacterList()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user