Set response to proper error message
Was setting the response to an empty string. But this makes it show the correct error.
This commit is contained in:
@@ -520,10 +520,7 @@ export default {
|
|||||||
icon: "done",
|
icon: "done",
|
||||||
})
|
})
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
// Reset response back to empty string
|
this.response = `${error}. ${this.$t("check_console_details")}`
|
||||||
// Note: We're specifically setting this to an empty string, as
|
|
||||||
// returning {} could could give the impression that the query succeeded
|
|
||||||
this.response = ""
|
|
||||||
this.$nuxt.$loading.finish()
|
this.$nuxt.$loading.finish()
|
||||||
|
|
||||||
this.$toast.error(`${error} ${this.$t("f12_details")}`, {
|
this.$toast.error(`${error} ${this.$t("f12_details")}`, {
|
||||||
|
|||||||
Reference in New Issue
Block a user