Commit 16d5cb69 authored by shishir suman's avatar shishir suman
Browse files

Error handling

1 merge request!60Error handling
Showing with 1 addition and 1 deletion
+1 -1
......@@ -152,7 +152,7 @@ public class UserController {
return response;
} catch (Exception 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