diff --git a/app/Utils/SystemHealth.php b/app/Utils/SystemHealth.php index a16dd631a7..9b09f6b894 100644 --- a/app/Utils/SystemHealth.php +++ b/app/Utils/SystemHealth.php @@ -99,10 +99,10 @@ class SystemHealth return empty($foo[0]) ? 'Found node, but no version information' : $foo[0]; } - return false; + return 'Node not found.'; } catch (Exception $e) { - return false; + return 'Node not found.'; } } @@ -115,10 +115,10 @@ class SystemHealth return empty($foo[0]) ? 'Found npm, but no version information' : $foo[0]; } - return false; + return 'NPM not found'; } catch (Exception $e) { - return false; + return 'NPM not found'; } }