Skip to content

Commit

Permalink
wip: figure out error syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Connor-Bernard committed Mar 5, 2024
1 parent 82d9471 commit 4083d3c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/assets/swagger/shouldIgnoreError.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
*/
const shouldIgnoreError = (err) => {
// This error is because the validator is still based on swagger-editor instead of swagger-editor-next.
console.debug({...err});
console.debug(err.location);
if (err.location == 'Structural error at openapi') {
return true;
}
Expand Down

0 comments on commit 4083d3c

Please sign in to comment.