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",
|
||||
})
|
||||
} catch (error) {
|
||||
// Reset response back to empty string
|
||||
// Note: We're specifically setting this to an empty string, as
|
||||
// returning {} could could give the impression that the query succeeded
|
||||
this.response = ""
|
||||
this.response = `${error}. ${this.$t("check_console_details")}`
|
||||
this.$nuxt.$loading.finish()
|
||||
|
||||
this.$toast.error(`${error} ${this.$t("f12_details")}`, {
|
||||
|
||||
Reference in New Issue
Block a user