Skip to content

Commit

Permalink
refactor: Do not recognize YAML Exception as user error
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed May 20, 2021
1 parent aa8f7be commit db16df2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/tokenize-exception.js
Expand Up @@ -3,7 +3,7 @@
const { inspect } = require('util');
const isError = require('type/error/is');

const userErrorNames = new Set(['ServerlessError', 'YAMLException']);
const userErrorNames = new Set(['ServerlessError']);

module.exports = (exception) => {
if (isError(exception)) {
Expand Down

0 comments on commit db16df2

Please sign in to comment.