From 1fa14d5bb6d6095f1847eb8d6aed05d23b14c0b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Sasovsky?= Date: Thu, 1 Aug 2024 05:14:07 +0200 Subject: [PATCH] fix: bad initialization BootUpService --- .devcontainer/docker-compose.yml | 1 - docker-compose.prod.yml | 1 - docker-compose.yml | 1 - lib/src/services/bootup.dart | 4 +++- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml index c94ce40..eddbcea 100644 --- a/.devcontainer/docker-compose.yml +++ b/.devcontainer/docker-compose.yml @@ -1,4 +1,3 @@ -version: '3.9' services: # Update this to the name of the service you want to work with in your docker-compose.yml file radio_horizon: diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 772cf11..fc18c40 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -1,4 +1,3 @@ -version: '3.9' services: radio_horizon: image: ghcr.io/tomassasovsky/radio-horizon.dart:latest diff --git a/docker-compose.yml b/docker-compose.yml index be5fb22..c9599a6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,3 @@ -version: '3.9' services: radio_horizon: build: diff --git a/lib/src/services/bootup.dart b/lib/src/services/bootup.dart index b1f3d81..adcda49 100644 --- a/lib/src/services/bootup.dart +++ b/lib/src/services/bootup.dart @@ -71,7 +71,9 @@ class BootUpService { ), ); } catch (e) { - Logger('BootUpService').shout('Error during bootup', e); + Logger.root.info( + 'Failed to initialize radio for guild: ${playing.guildId}', + ); } } }