summaryrefslogtreecommitdiffstats
path: root/share/common/utils/fileutil.py
diff options
context:
space:
mode:
Diffstat (limited to 'share/common/utils/fileutil.py')
-rw-r--r--share/common/utils/fileutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/common/utils/fileutil.py b/share/common/utils/fileutil.py
index 5a1624b0..accd3bc3 100644
--- a/share/common/utils/fileutil.py
+++ b/share/common/utils/fileutil.py
@@ -28,7 +28,7 @@ def delete_dirs(path):
shutil.rmtree(path)
except Exception as e:
logger.error(traceback.format_exc())
- logger.error("Failed to delete %s:%s", path, e.message)
+ logger.error("Failed to delete %s:%s", path, str(e))
def download_file_from_http(url, local_dir, file_name):