Skip to content

Commit

Permalink
remove
Browse files Browse the repository at this point in the history
  • Loading branch information
shapiromatron committed Feb 6, 2024
1 parent 6f051f8 commit af3832f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions frontend/src/utils/parsers.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,3 @@ export const parseServerErrors = errors => {
}
return line;
};


export const parseError = function(error) {
console.error(`Complete stacktrace:\n\n ${error}`);
- let _error = error.match(/(?<=ValueError:\s).*/)[0];
+ let _error = error[0].match(/(?<=ValueError:\s).*/);
return _error.toString();
};

0 comments on commit af3832f

Please sign in to comment.