add error handling to client
							parent
							
								
									47eb738400
								
							
						
					
					
						commit
						bd7a5fc44d
					
				| 
						 | 
				
			
			@ -50,6 +50,9 @@ class SpotifyClient
 | 
			
		|||
          Rails.logger.info("token dead")
 | 
			
		||||
          LogLoadFailedWorker.perform_async(login.id)
 | 
			
		||||
        end
 | 
			
		||||
      else
 | 
			
		||||
        Rails.logger.error("SpotifyClient: #{e.message}")
 | 
			
		||||
        raise e
 | 
			
		||||
      end
 | 
			
		||||
    end
 | 
			
		||||
  end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue