mirror of
https://github.com/danog/amp.git
synced 2024-12-03 09:57:51 +01:00
parent
3285f142af
commit
b8da6a0782
@ -9,7 +9,7 @@ final class UnhandledFutureError extends \Error
|
|||||||
{
|
{
|
||||||
public function __construct(\Throwable $previous)
|
public function __construct(\Throwable $previous)
|
||||||
{
|
{
|
||||||
$message = 'Unhandled future error: "' . $previous->getMessage()
|
$message = 'Unhandled future: ' . $previous::class . ': "' . $previous->getMessage()
|
||||||
. '"; Await the Future with Future::await() before the future is destroyed or use '
|
. '"; Await the Future with Future::await() before the future is destroyed or use '
|
||||||
. 'Future::ignore() to suppress this exception';
|
. 'Future::ignore() to suppress this exception';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user