diff --git a/controllers/ConfigController.php b/controllers/ConfigController.php index 50f4836a..c5cf632d 100644 --- a/controllers/ConfigController.php +++ b/controllers/ConfigController.php @@ -336,7 +336,11 @@ class ConfigController extends Controller { \Yii::$app->db->createCommand()->truncateTable('capture_logs')->execute(); \Yii::$app->db->createCommand()->truncateTable('list_management')->execute(); array_map('unlink', glob("/var/www/html/BiFace_Server_Lite/web/data/uploads/face/*.*")); - file_get_contents("http://localhost:2305/update-feature"); + try { + file_get_contents("http://localhost:2305/update-feature"); + } catch (Exception $exc) { + echo $exc->getTraceAsString(); + } } return Url::to(['/config']); } else {