Skip to content

Commit

Permalink
Use get_error for 'fs usage' failures (fix #187)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmoore committed Mar 5, 2020
1 parent 448dbb1 commit 4222326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/omero/plugins/fs.py
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ def _usage_report(self, req, rsp, status, args):
"""
err = self.get_error(rsp)
if err:
self.ctx.err("Error: " + rsp.parameters['message'])
self.ctx.err(err)
else:
size = sum(rsp.totalBytesUsed.values())
if args.size_only:
Expand Down

0 comments on commit 4222326

Please sign in to comment.