summaryrefslogtreecommitdiff
path: root/src/leap/soledad/server/_blobs.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/soledad/server/_blobs.py')
-rw-r--r--src/leap/soledad/server/_blobs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/soledad/server/_blobs.py b/src/leap/soledad/server/_blobs.py
index 427c63ca..e0763028 100644
--- a/src/leap/soledad/server/_blobs.py
+++ b/src/leap/soledad/server/_blobs.py
@@ -106,8 +106,8 @@ class FilesystemBlobsBackend(object):
path = self._get_path(user, blob_id, namespace)
try:
mkdir_p(os.path.split(path)[0])
- except OSError:
- pass
+ except OSError as e:
+ logger.warn("Got exception trying to create directory: %r" % e)
if os.path.isfile(path):
# 409 - Conflict
request.setResponseCode(409)