Fix crash when google task list already deleted

pull/795/head
Alex Baker 6 years ago
parent e110b8bd64
commit 649b009d58

@ -81,7 +81,10 @@ public class GtasksInvoker {
}
public void deleteGtaskList(String listId) throws IOException {
try {
execute(service.tasklists().delete(listId));
} catch (HttpNotFoundException ignored) {
}
}
public TaskList renameGtaskList(String listId, String title) throws IOException {
@ -96,7 +99,6 @@ public class GtasksInvoker {
try {
execute(service.tasks().delete(listId, taskId));
} catch (HttpNotFoundException ignored) {
}
}

Loading…
Cancel
Save