Skip to content

Commit ea5a54a

Browse files
committed
Rephrase headers sent exception message
1 parent 0cf974b commit ea5a54a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Storage/Session.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function __construct()
4141
}
4242

4343
if (headers_sent()) {
44-
throw new RuntimeException('Hybridauth wasn\'t able to start PHP session. HTTP headers already sent.');
44+
throw new RuntimeException('HTTP headers already sent to browser and Hybridauth won\'t be able to start/resume PHP session. To resolve this, session_start() must be called before outputing any data.');
4545
}
4646

4747
if (! session_start()) {

0 commit comments

Comments
 (0)