Explorar o código

[filebrowser] Log potential list path errors in view method (#3095)

Harsh Gupta %!s(int64=3) %!d(string=hai) anos
pai
achega
6921fb0634
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      apps/filebrowser/src/filebrowser/views.py

+ 2 - 0
apps/filebrowser/src/filebrowser/views.py

@@ -284,6 +284,8 @@ def view(request, path):
     if "Connection refused" in str(e):
       msg += _(" The HDFS REST service is not available. ")
 
+    logger.error(msg + str(e))
+
     if is_ajax(request):
       exception = {
         'error': msg