Commit e60dd91e authored by Jeremy Bokobza's avatar Jeremy Bokobza

Changed HTTP status code for exception

parent 6b016af8
...@@ -82,7 +82,7 @@ namespace Breeze.Wallet.Controllers ...@@ -82,7 +82,7 @@ namespace Breeze.Wallet.Controllers
} }
catch (FileNotFoundException e) catch (FileNotFoundException e)
{ {
return ErrorHelpers.BuildErrorResponse(HttpStatusCode.Conflict, "This wallet already exists.", e.ToString()); return ErrorHelpers.BuildErrorResponse(HttpStatusCode.NotFound, "This wallet was not found at the specified location.", e.ToString());
} }
catch (SecurityException e) catch (SecurityException e)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment