Skip to content

Commit db16df2

Browse files
committed
refactor: Do not recognize YAML Exception as user error
1 parent aa8f7be commit db16df2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/utils/tokenize-exception.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
const { inspect } = require('util');
44
const isError = require('type/error/is');
55

6-
const userErrorNames = new Set(['ServerlessError', 'YAMLException']);
6+
const userErrorNames = new Set(['ServerlessError']);
77

88
module.exports = (exception) => {
99
if (isError(exception)) {

0 commit comments

Comments
 (0)