Browse Source

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

Harsh Gupta 3 years ago
parent
commit
6921fb0634
1 changed files with 2 additions and 0 deletions
  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):
     if "Connection refused" in str(e):
       msg += _(" The HDFS REST service is not available. ")
       msg += _(" The HDFS REST service is not available. ")
 
 
+    logger.error(msg + str(e))
+
     if is_ajax(request):
     if is_ajax(request):
       exception = {
       exception = {
         'error': msg
         'error': msg