diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index 17392a9..a81f356 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -119,7 +119,11 @@ class LoginByNC extends Controller { ]; $context = stream_context_create($opts); - $file = file_get_contents($this->nclink.'/api/setlog/', false, $context); + try{ + $file = file_get_contents($this->nclink.'/api/setlog/', false, $context); + } catch (Exception $e) { + // + } } }