Skip to content

Commit

Permalink
Update src/main/java/seedu/cafectrl/parser/Parser.java
Browse files Browse the repository at this point in the history
Co-authored-by: ShaniceTang <[email protected]>
  • Loading branch information
ziyi105 and ShaniceTang authored Nov 12, 2023
1 parent 6e99071 commit 2f24c1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/seedu/cafectrl/parser/Parser.java
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ private static Command prepareEditPriceCommand(Menu menu, String arguments, Ui u
return new IncorrectCommand(ErrorMessages.INVALID_DISH_INDEX, ui);
}
} catch (NumberFormatException e) {
logger.warning("Invalid dish index type!");
logger.log(Level.WARNING, "Invalid dish index type!", e);
return new IncorrectCommand(ErrorMessages.WRONG_DISH_INDEX_TYPE_FOR_EDIT_PRICE, ui);
}

Expand Down

0 comments on commit 2f24c1e

Please sign in to comment.