mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-09-20 14:27:42 +00:00
Logging tidy-up, IDE inspection fixes
This commit is contained in:
@@ -25,9 +25,9 @@ class LocalFileStaticDataProvider(StaticDataProvider):
|
||||
else:
|
||||
self.status = "Error"
|
||||
logging.error("Failed to load data for " + self.name)
|
||||
except Exception as e:
|
||||
except Exception:
|
||||
self.status = "Error"
|
||||
logging.error("Exception in local file Static Data Provider (" + self.name + ")", e, exc_info=True)
|
||||
logging.exception("Exception in local file Static Data Provider (" + self.name + ")")
|
||||
|
||||
def stop(self):
|
||||
self._stop = True
|
||||
|
||||
Reference in New Issue
Block a user