This commit is contained in:
2021-12-11 17:38:15 +08:00
parent 90e1f7eb29
commit b01c71ea5e
+8 -2
View File
@@ -29,8 +29,14 @@ class Inotify
*/
public function __construct(protected array $dirs, public HotReload $process)
{
set_error_handler(fn() => function () {
});
set_error_handler([$this, 'error']);
set_exception_handler([$this, 'error']);
}
public function error()
{
}