Error handling style changed in saveTasks()