Skip to content
Closed

test #1249

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/main/java/mate/academy/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public static void main(String[] args) {
user = authenticationService.login("bob", "1234");
} catch (AuthenticationException e) {
e.printStackTrace();
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace e.printStackTrace(); with a logger method call. Example: logger.error("Authentication failed. Params: login=bob", e); This violates requirement #5 of the task description.


return;
}
OrderService orderService = new OrderServiceImpl();
Expand Down
Loading