Skip to content

Commit

Permalink
Merge pull request #473 from archdesigner/patch-1
Browse files Browse the repository at this point in the history
old bug sync
  • Loading branch information
lisachenko committed Jun 11, 2021
2 parents f980f24 + 4501bcc commit 19a6f21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Instrument/ClassLoading/CacheWarmer.php
Expand Up @@ -68,7 +68,7 @@ public function warmUp()

$errors = [];

$displayException = function (\Exception $exception, $path) use (&$errors) {
$displayException = function (\Throwable $exception, $path) use (&$errors) {
$this->output->writeln(sprintf('<fg=white;bg=red;options=bold>[ERR]</>: %s', $path));
$errors[$path] = $exception->getMessage();
};
Expand Down

0 comments on commit 19a6f21

Please sign in to comment.