lib/helpers/controller_helpers.rb in wepay-rails-0.1.98 vs lib/helpers/controller_helpers.rb in wepay-rails-0.1.99

- old
+ new

@@ -33,9 +33,10 @@ auth_code = wepayable_object.send(WepayRails::Configuration.wepayable_column.to_sym) iwat_log.puts "Auth code was #{auth_code}" session[unique_wepay_access_token_key] = wepay_gateway.access_token(auth_code) return rescue WepayRails::Exceptions::ExpiredTokenError => e + iwat_log.puts "Exception happened: #{e.message}" redirect_to_wepay_for_auth(wepayable_object) and return end # Since we are saving the access token in the session, # ensure key uniqueness. Might be a good idea to have this \ No newline at end of file