dushkindigital / marketmap

New, clean repo for Shekhar
2 stars 0 forks source link

Proper ExceptionHandling in code #18

Closed shekhargulati closed 12 years ago

shekhargulati commented 12 years ago

Places where ExceptionHandling needs to be improved :

1) When a user is created with same username we get 405 error code in JSON service and stacktrace that unique constraint is violated. 2) When a marketplace is created with same name we get 405 error code in JSON service and stacktrace that unique constraint is violated.

shekhargulati commented 12 years ago

Exception handling has been improved and now you should get a json message containing the error code, message, and developer information. This will be improved as we move along but for now it is a good start.