Skip to content

Commit

Permalink
Clarify event loop terminated error (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
danog authored Jul 20, 2023
1 parent 9ac31d3 commit 8405671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EventLoop/Internal/DriverSuspension.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public function suspend(): mixed
}
}

throw new \Error('Event loop terminated without resuming the current suspension:' . $info);
throw new \Error('Event loop terminated without resuming the current suspension (the cause is either a fiber deadlock, or an incorrectly unreferenced/canceled watcher):' . $info);
}

return $result();
Expand Down

0 comments on commit 8405671

Please sign in to comment.