We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e74aa83 commit 64b51a5Copy full SHA for 64b51a5
src/Http/Session.php
@@ -100,7 +100,7 @@ private function doStart($mustExists = false): void
100
'session_start',
101
[['read_and_close' => $this->readAndClose]],
102
function (string $message) use (&$e): void {
103
- $e = new Nette\InvalidStateException($message);
+ $e = new Nette\InvalidStateException($message, previous: $e);
104
},
105
);
106
} catch (\Throwable $e) {
0 commit comments