Skip to content

Commit

Permalink
Update EventLoop.php
Browse files Browse the repository at this point in the history
  • Loading branch information
VennDev authored Aug 3, 2024
1 parent f6e15b7 commit 57317e5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/vennv/vapm/EventLoop.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@

namespace vennv\vapm;

use GlobalLogger;
use SplObjectStorage;
use Throwable;
use function count;
Expand Down Expand Up @@ -201,7 +200,7 @@ protected static function run(): void
try {
if ($promise->isJustGetResult()) $promise->setResult($fiber->getReturn());
} catch (Throwable $e) {
GlobalLogger::get()->warning($e->getMessage());
echo $e->getMessage();
}
MicroTask::addTask($id, $promise);
self::removeQueue($id);
Expand Down

0 comments on commit 57317e5

Please sign in to comment.