Skip to content

Commit

Permalink
Fix #1520 "Unknown application error occurred Runtime.Unknown"
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Aug 14, 2023
1 parent 3a4a335 commit 570629f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FunctionRuntime/Main.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static function run(): void
try {
$handler = $container->get(getenv('_HANDLER'));
} catch (Throwable $e) {
$lambdaRuntime->failInitialization($e->getMessage());
$lambdaRuntime->failInitialization($e->getMessage(), $e);
}

$loopMax = getenv('BREF_LOOP_MAX') ?: 1;
Expand Down

0 comments on commit 570629f

Please sign in to comment.