Silence errors from file_get_contents

This commit is contained in:
= 2022-07-25 08:00:52 +10:00
parent 65e9e604c0
commit ba133360a2

View File

@ -35,7 +35,7 @@ class VersionCheck implements ShouldQueue
*/
public function handle()
{
$version_file = trim(file_get_contents(config('ninja.version_url')));
$version_file = trim(@file_get_contents(config('ninja.version_url')));
nlog("latest version = {$version_file}");