diff --git a/astrid/plugin-src/com/todoroo/astrid/gtasks/sync/GtasksSyncProvider.java b/astrid/plugin-src/com/todoroo/astrid/gtasks/sync/GtasksSyncProvider.java index 2b4ee6f34..e57f09917 100644 --- a/astrid/plugin-src/com/todoroo/astrid/gtasks/sync/GtasksSyncProvider.java +++ b/astrid/plugin-src/com/todoroo/astrid/gtasks/sync/GtasksSyncProvider.java @@ -235,12 +235,13 @@ public class GtasksSyncProvider extends SyncProvider { gcm.authenticate(false); } catch (GoogleLoginException e) { Toast.makeText(activity, R.string.gtasks_login_error, Toast.LENGTH_LONG).show(); + Log.e("gtasks", "login", e); return; } catch (IOException e) { Toast.makeText(activity, R.string.SyP_ioerror, Toast.LENGTH_LONG).show(); + Log.e("gtasks", "login", e); } String token = gcm.getToken(); - System.err.println("got token " + token); gtasksPreferenceService.setToken(token); activity.startService(new Intent(SyncBackgroundService.SYNC_ACTION, null, activity, GtasksBackgroundService.class));