Skip to content

Commit 57c642d

Browse files
committed
Remove unneeded display_errors=1 from v2 because in v3 it's always this value by default
1 parent 2cdd9cb commit 57c642d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/bootstrap.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
<?php declare(strict_types=1);
22

3-
// Force errors to be logged to stdout so that they end up in CloudWatch.
4-
// In the `function` runtime this is already `1`, but in the `fpm` runtime it is `0` by default.
5-
// Here we are forcing it to `1` in the bootstrap process, it will not impact the application code
6-
// as it runs in different processes (FPM worker) and those will have `display_errors=0`.
7-
ini_set('display_errors', '1');
8-
93
$appRoot = getenv('LAMBDA_TASK_ROOT');
104

115
$autoloadPath = $_SERVER['BREF_AUTOLOAD_PATH'] ?? null;

0 commit comments

Comments
 (0)