Skip to content

Commit 5b3fe25

Browse files
authored
Merge pull request #6268 from JonathanWilbur/patch-1
Fix #6267
2 parents 61f31b2 + b964047 commit 5b3fe25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/plugins/aws/invokeLocal/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ class AwsInvokeLocal {
548548
errorResult = {
549549
errorMessage: err.message,
550550
errorType: err.constructor.name,
551-
stackTrace: err.stack.split('\n'),
551+
stackTrace: err.stack && err.stack.split('\n'),
552552
};
553553
} else {
554554
errorResult = {

0 commit comments

Comments
 (0)