mirror of
https://github.com/danog/amp.git
synced 2024-12-02 09:27:46 +01:00
parent
3285f142af
commit
b8da6a0782
@ -9,7 +9,7 @@ final class UnhandledFutureError extends \Error
|
||||
{
|
||||
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 '
|
||||
. 'Future::ignore() to suppress this exception';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user