Unverified Commit 5fb01522 authored by Shishir Suman's avatar Shishir Suman Committed by GitHub
Browse files

Merge pull request #60 from UPHRH-platform/UPHRH_7903_mobile_otp

Error handling
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
...@@ -152,7 +152,7 @@ public class UserController { ...@@ -152,7 +152,7 @@ public class UserController {
return response; return response;
} catch (Exception e) { } catch (Exception e) {
log.error("Error in activating user", e); log.error("Error in activating user", e);
throw new CustomException("Error in activating user."); throw new CustomException(e.getLocalizedMessage(), e.getLocalizedMessage());
} }
} }
......
Supports Markdown
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