Skip to content

Commit

Permalink
AddressBookParser.java: Revert change to logging
Browse files Browse the repository at this point in the history
  • Loading branch information
yisiox committed Apr 15, 2024
1 parent 0a5ed3d commit 87c542b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/seedu/address/logic/util/AddressBookParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ public static Command parseCommand(String userInput) throws ParseException {
try {
commandType = CommandType.valueOf(commandWord.toUpperCase());
} catch (IllegalArgumentException ie) {
logger.finer("This user command caused a ParseException: " + userInput);
logger.finer("This user input caused a ParseException: " + userInput);
throw new ParseException(MESSAGE_UNKNOWN_COMMAND);
}

Command command;
try {
command = commandType.createCommand(arguments);
} catch (IllegalArgumentException ie) {
logger.finer("These user command arguments caused a ParseException: " + userInput);
logger.finer("This user input caused a ParseException: " + userInput);
throw new ParseException(ie.getMessage());
}

Expand Down

0 comments on commit 87c542b

Please sign in to comment.