Skip to content

Commit

Permalink
Added link to error capture component
Browse files Browse the repository at this point in the history
  • Loading branch information
hujambo-dunia committed Apr 5, 2024
1 parent 6152282 commit bdafa55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/components/Tool/ToolForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ import { refreshContentsWrapper } from "utils/data";
import { useConfigStore } from "@/stores/configurationStore";
import { useHistoryStore } from "@/stores/historyStore";
import { useUserStore } from "@/stores/userStore";
import { errorMessageAsString } from "@/utils/simple-error";
import ToolRecommendation from "../ToolRecommendation";
import { getToolFormData, submitJob, updateToolFormData } from "./services";
Expand Down Expand Up @@ -381,7 +382,7 @@ export default {
}
},
(e) => {
this.errorMessage = e?.response?.data?.err_msg;
this.errorMessage = errorMessageAsString(e);
this.showExecuting = false;
let genericError = true;
const errorData = e && e.response && e.response.data && e.response.data.err_data;
Expand Down

0 comments on commit bdafa55

Please sign in to comment.