Explorar el Código

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

Harsh Gupta hace 3 años
padre
commit
6921fb0634
Se han modificado 1 ficheros con 2 adiciones y 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