diff options
| author | 2021-03-14 10:08:18 +0100 | |
|---|---|---|
| committer | 2021-03-14 10:16:24 +0100 | |
| commit | 8f61115cd9773997cb79b7df799318c83f6b7651 (patch) | |
| tree | 5385f9aad496340f4d22319f1d8af1bd3ef8b2e8 | |
| parent | Branding: avoid sending #changelog notification on resync (diff) | |
Branding: log event path alongside error
Knowing which event failed would probably be quite useful.
| -rw-r--r-- | bot/exts/backend/branding/_repository.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/backend/branding/_repository.py b/bot/exts/backend/branding/_repository.py index b1368c59e..2f96396c0 100644 --- a/bot/exts/backend/branding/_repository.py +++ b/bot/exts/backend/branding/_repository.py @@ -182,7 +182,7 @@ class BrandingRepository: try: instance = await self.construct_event(event_directory) except Exception as exc: - log.warning(f"Could not construct event: {exc}") + log.warning(f"Could not construct event '{event_directory.path}': {exc}") else: instances.append(instance) |