]> www.vanbest.org Git - motioneye-debian/commitdiff
consistency with the rest of the code
authorPaul Annekov <paul.annekov@gmail.com>
Wed, 4 Apr 2018 18:49:09 +0000 (21:49 +0300)
committerPaul Annekov <paul.annekov@gmail.com>
Wed, 4 Apr 2018 18:49:09 +0000 (21:49 +0300)
motioneye/handlers.py

index 3438f15265941265248713b01574a72af67c315b..00ba23d3e0a1e806cb18ae32036c5e5efbde6580 100644 (file)
@@ -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):