From: Paul Annekov <paul.annekov@gmail.com>
Date: Wed, 4 Apr 2018 18:49:09 +0000 (+0300)
Subject: consistency with the rest of the code
X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=5a8bb177bcc52ff24e57ad8bd30469bc05c06ee9;p=motioneye-debian

consistency with the rest of the code
---

diff --git a/motioneye/handlers.py b/motioneye/handlers.py
index 3438f15..00ba23d 100644
--- a/motioneye/handlers.py
+++ b/motioneye/handlers.py
@@ -1669,7 +1669,7 @@ class MoviePlaybackHandler(StaticFileHandler, BaseHandler):
                 if os.path.isfile(f) and os.stat(f).st_atime <= stale_time:
                     os.remove(f)
         except:
-            logging.exception('could not delete temp file')
+            logging.error('could not delete temp file', exc_info=True)
             pass
 
     def get_absolute_path(self, root, path):