repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor(ui): refine error messages formatting
[e-mobility-charging-stations-simulator.git]
/
ui
/
web
/
src
/
components
/
charging-stations
/
CSData.vue
diff --git
a/ui/web/src/components/charging-stations/CSData.vue
b/ui/web/src/components/charging-stations/CSData.vue
index abc087626986a444effa9867c4eceb6dcae74682..48edd609b022ae81d6a8d03f6f4b2696baa5fd7a 100644
(file)
--- 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')
})
.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 => {
})
}
const stopChargingStation = (): void => {
@@
-157,7
+157,7
@@
const stopChargingStation = (): void => {
})
.catch((error: Error) => {
$toast.error('Error at stopping charging station')
})
.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 => {
})
}
const openConnection = (): void => {
@@
-168,7
+168,7
@@
const openConnection = (): void => {
})
.catch((error: Error) => {
$toast.error('Error at opening connection')
})
.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 => {
})
}
const closeConnection = (): void => {
@@
-179,7
+179,7
@@
const closeConnection = (): void => {
})
.catch((error: Error) => {
$toast.error('Error at closing connection')
})
.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 => {
})
}
const deleteChargingStation = (): void => {
@@
-190,7
+190,7
@@
const deleteChargingStation = (): void => {
})
.catch((error: Error) => {
$toast.error('Error at deleting charging station')
})
.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)
})
}
</script>
})
}
</script>