Commits

Marcin Kasperski  committed 842efb8

Added short error detail on login error.

  • Participants
  • Parent commits d1471dc

Comments (0)

Files changed (2)

         },
       zip_safe = True,
       install_requires=[
-        'lxml', 'simplejson', 'keyring', 'mekk.greader',
+        'lxml', 'simplejson', 'keyring', 'mekk.greader>=1.2.3',
       ],
       tests_require=[
         'nose',

File src/mekk/feeds/greader2org/run.py

         try:
             auth = settings.google_auth()
             reader = GoogleReaderClient(** auth)
-        except GoogleLoginFailed:
-            print "Login to Google (as %s) failed" % auth['login']
+        except GoogleLoginFailed as e:
+            print "Login to Google (as %s) failed (%s)" % (auth['login'], e)
             settings.query_google_credentials()
         else:
             break