We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa8f7be commit db16df2Copy full SHA for db16df2
1 file changed
lib/utils/tokenize-exception.js
@@ -3,7 +3,7 @@
3
const { inspect } = require('util');
4
const isError = require('type/error/is');
5
6
-const userErrorNames = new Set(['ServerlessError', 'YAMLException']);
+const userErrorNames = new Set(['ServerlessError']);
7
8
module.exports = (exception) => {
9
if (isError(exception)) {
0 commit comments