# HG changeset patch # User souliane # Date 1393265135 -3600 # Node ID f22a4bf9a67e146da7d8784d6d39b56688454f90 # Parent 724a9a03ab020b15b850838f90833676365f5c94 server_side: fix error management at account creation diff -r 724a9a03ab02 -r f22a4bf9a67e libervia_server/__init__.py --- a/libervia_server/__init__.py Mon Feb 24 14:04:21 2014 +0100 +++ b/libervia_server/__init__.py Mon Feb 24 19:05:35 2014 +0100 @@ -641,7 +641,7 @@ request.finish() def registeringError(failure): - reason = str(failure.value) + reason = failure.value.faultString if reason == "ConflictError": request.write('ALREADY EXISTS') elif reason == "InternalError":