lib/lionel/cli.rb in lionel_richie-0.2.3.1 vs lib/lionel/cli.rb in lionel_richie-0.2.4
- old
+ new
@@ -64,10 +64,10 @@
export.save_configuration if options['save']
begin
export.authenticate
- rescue GoogleDrive::Error, GoogleDrive::AuthenticationError
+ rescue GoogleDriveV0::Error, GoogleDriveV0::AuthenticationError
@google_attempts ||= 0
@google_attempts += 1
Lionel::GoogleAuthentication.new.refresh
if @google_attempts < 2
retry