Skip to content

Commit

Permalink
send error message while parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
khansadaoudi committed Oct 31, 2024
1 parent d7a5d73 commit eaafbff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/parsing/ParsingPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,7 @@ export default defineComponent({
.parserParseStatus(projectName, modelInfo, parseTaskId, parserSuffix)
.then((response) => {
if (response.data.status === 'failure') {
notifyError({ error: response.data.error });
this.clearCurrentTask();
} else if (response.data.data.ready) {
this.clearCurrentTask();
Expand Down

0 comments on commit eaafbff

Please sign in to comment.