2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-10 13:51:01 +00:00

Fixed LOG style errors (#5628)

* fixed LOG style errors

* Disabled exchange rate checks
See https://github.com/inventree/InvenTree/issues/5631
This commit is contained in:
Matthias Mair
2023-09-29 01:34:24 +02:00
committed by GitHub
parent 71c416bafd
commit 240a2e91dd
5 changed files with 13 additions and 4 deletions

View File

@@ -186,7 +186,7 @@ class LabelConfig(AppConfig):
if model.objects.filter(label=filename).exists():
return # pragma: no cover
except Exception:
logger.error(f"Failed to query label for '{filename}' - you should run 'invoke update' first!")
logger.exception("Failed to query label for '%s' - you should run 'invoke update' first!", filename)
logger.info("Creating entry for %s '%s'", model, label['name'])