From 08b552892290e9558a41c3a58589baa9957ca917 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 9 Mar 2024 21:57:14 +0100 Subject: [PATCH] refactor(ui): refine error messages formatting MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- ui/web/src/components/charging-stations/CSData.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ui/web/src/components/charging-stations/CSData.vue b/ui/web/src/components/charging-stations/CSData.vue index abc08762..48edd609 100644 --- a/ui/web/src/components/charging-stations/CSData.vue +++ b/ui/web/src/components/charging-stations/CSData.vue @@ -146,7 +146,7 @@ const startChargingStation = (): void => { }) .catch((error: Error) => { $toast.error('Error at starting charging station') - console.error('Error at starting charging station', error) + console.error('Error at starting charging station:', error) }) } const stopChargingStation = (): void => { @@ -157,7 +157,7 @@ const stopChargingStation = (): void => { }) .catch((error: Error) => { $toast.error('Error at stopping charging station') - console.error('Error at stopping charging station', error) + console.error('Error at stopping charging station:', error) }) } const openConnection = (): void => { @@ -168,7 +168,7 @@ const openConnection = (): void => { }) .catch((error: Error) => { $toast.error('Error at opening connection') - console.error('Error at opening connection', error) + console.error('Error at opening connection:', error) }) } const closeConnection = (): void => { @@ -179,7 +179,7 @@ const closeConnection = (): void => { }) .catch((error: Error) => { $toast.error('Error at closing connection') - console.error('Error at closing connection', error) + console.error('Error at closing connection:', error) }) } const deleteChargingStation = (): void => { @@ -190,7 +190,7 @@ const deleteChargingStation = (): void => { }) .catch((error: Error) => { $toast.error('Error at deleting charging station') - console.error('Error at deleting charging station', error) + console.error('Error at deleting charging station:', error) }) } -- 2.34.1