Skip to content

Commit 7701553

Browse files
authored
Merge pull request #162 from Erudus/main
SettledResult isError fix
2 parents 91a7001 + 5836667 commit 7701553

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)