Skip to content

Commit 5836667

Browse files
committed
settleresult-iserror-fix
1 parent 91a7001 commit 5836667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Results/SettledResult.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function __construct($raw, LambdaFunction $function)
5858
*/
5959
public function isError()
6060
{
61-
return $this->raw->get('FunctionError') !== '';
61+
return $this->raw->hasKey('FunctionError') && $this->raw->get('FunctionError') !== '';
6262
}
6363

6464
/**

0 commit comments

Comments
 (0)