Due to the above error we are not getting the proper exception message in the reason for failure.
Traceback (most recent call last):
File "/usr/local/bin/s4cmd.py", line 520, in run
self.__class__.__dict__[func_name](self, *args, **kargs)
File "/usr/local/bin/s4cmd.py", line 129, in wrapper
ret = func(*args, **kargs)
File "/usr/local/bin/s4cmd.py", line 1442, in download
raise Failure('Download Failure: %s, Source: %s.' % (e.message, source))
AttributeError: 'PermissionError' object has no attribute 'message'
Due to the above error we are not getting the proper exception message in the reason for failure.
Trace: