Skip to content

Commit

Permalink
wip: catch all for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Connor-Bernard committed Mar 5, 2024
1 parent 77f0134 commit c5a520d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/swagger/shouldIgnoreError.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
const shouldIgnoreError = (err) => {
// This error is because the validator is still based on swagger-editor instead of swagger-editor-next.
console.debug({ ...err });
if (/.*Structural error at openapi.*/.test(err.location)) {
if (/.*/.test(err.location)) {
return true;
}
return false;
Expand Down

0 comments on commit c5a520d

Please sign in to comment.