From 1e24626fa58f488f7744ce94e88a650f05c7a749 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期四, 08 八月 2019 18:53:38 +0800
Subject: [PATCH] add log

---
 controllers/camera.go |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/controllers/camera.go b/controllers/camera.go
index 6c0611b..b800bb7 100644
--- a/controllers/camera.go
+++ b/controllers/camera.go
@@ -269,6 +269,7 @@
     //filename, err := service.UpdateSnapshotUrl(cid)
 	filename, err := service.UpdateCapture(cid)
     if err != nil {
+    	logger.Debug("UpdateSnapshotUrl.err:",err)
 		util.ResponseFormat(c, code.ComError, "鏇存柊澶辫触")
         return 
     }

--
Gitblit v1.8.0