Skip to content

Commit 421a1f2

Browse files
committed
cs3iface: fixed logging
1 parent a4241fc commit 421a1f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/cs3iface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def stat(endpoint, fileref, userid):
8686
except (cs3client.exceptions.UnknownException, Exception) as e:
8787
log.error(
8888
'msg="Invoked stat" endpoint="%s" fileref="%s" exception="%s"' %
89-
(endpoint, fileref, str(e).replace('\n', ' '))
89+
(endpoint, fileref, str(e).replace('\n', ' ').replace('"', ''))
9090
)
9191
raise IOError(f"Stat failed for {fileref}") from e
9292
if statInfo.type == cs3spr.RESOURCE_TYPE_CONTAINER:

0 commit comments

Comments
 (0)