diff --git a/frontend/src/forms/Downtime.vue b/frontend/src/forms/Downtime.vue index 1b46d2a1..a23cb788 100644 --- a/frontend/src/forms/Downtime.vue +++ b/frontend/src/forms/Downtime.vue @@ -310,7 +310,7 @@ export default { this.isLoading=false; } catch (error) { this.isLoading=false; - throw new Error('error.message'); + throw new Error(error.message); } this.$router.push('/dashboard/downtimes');