Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.

Commit d15acb8

Browse files
author
Edson Medina
committed
Throwables
1 parent ee01bc8 commit d15acb8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Analyser.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,9 @@ public function scan (FileContext $file)
4545
{
4646
echo "\n\n" . $e->getMessage() . " (in {$filename})\n";
4747
}
48+
catch (\Throwable $e)
49+
{
50+
echo "\n\n" . $e->getMessage() . " (while analysing {$filename})\n";
51+
}
4852
}
4953
}

0 commit comments

Comments
 (0)