diff --git a/src/PatternLab/Watcher.php b/src/PatternLab/Watcher.php index 22ea8b83..f6c89a3d 100644 --- a/src/PatternLab/Watcher.php +++ b/src/PatternLab/Watcher.php @@ -326,6 +326,9 @@ private function updateSite($fileName,$message,$verbose = true) { } catch (\Exception $e) { Console::writeWarning("Failed on update to ".$fileName); Console::writeWarning($e->getMessage()); + } catch (\Throwable $e) { + Console::writeWarning("Failed on update to ".$fileName); + Console::writeWarning($e->getMessage()); } }