From aaa6de6f9cee84fff9d55429fcc27a431d6bf25d Mon Sep 17 00:00:00 2001 From: dongpd Date: Wed, 3 Mar 2021 14:08:46 +0700 Subject: [PATCH] fix bug reset thiet bi --- controllers/ConfigController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/ConfigController.php b/controllers/ConfigController.php index c5cf632d..149254b3 100644 --- a/controllers/ConfigController.php +++ b/controllers/ConfigController.php @@ -338,8 +338,8 @@ class ConfigController extends Controller { array_map('unlink', glob("/var/www/html/BiFace_Server_Lite/web/data/uploads/face/*.*")); try { file_get_contents("http://localhost:2305/update-feature"); - } catch (Exception $exc) { - echo $exc->getTraceAsString(); + } catch (\Exception $exc) { + } } return Url::to(['/config']);