Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[W8.6b][T09-B3] Kang Anmin #966

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Revert "add StorageOperationException to warn users when they try to …
…edit a read-only file"

This reverts commit d34e230.
EdwardKSG committed Feb 8, 2018
commit 62ae8f4d39ae769a9d306f30060e7871543db5c3
3 changes: 0 additions & 3 deletions src/seedu/addressbook/Main.java
Original file line number Diff line number Diff line change
@@ -111,9 +111,6 @@ private CommandResult executeCommand(Command command) {
CommandResult result = command.execute();
storage.save(addressBook);
return result;
} catch (StorageOperationException e) {
ui.showToUser("StorageOperationException: you are modifying a READ-ONLY file");
return new CommandResult("");
} catch (Exception e) {
ui.showToUser(e.getMessage());
throw new RuntimeException(e);