This commit is contained in:
Lee 2024-07-06 00:19:52 +01:00
parent bd340448a1
commit fa932b7fc2

@ -1,7 +1,6 @@
package cc.fascinated.bat.service; package cc.fascinated.bat.service;
import cc.fascinated.bat.common.StringUtils; import cc.fascinated.bat.common.StringUtils;
import cc.fascinated.bat.exception.spotify.SpotifyTokenRefreshException;
import cc.fascinated.bat.features.spotify.profile.SpotifyProfile; import cc.fascinated.bat.features.spotify.profile.SpotifyProfile;
import cc.fascinated.bat.model.BatUser; import cc.fascinated.bat.model.BatUser;
import lombok.Getter; import lombok.Getter;
@ -195,7 +194,6 @@ public class SpotifyService {
log.info("Refreshed Spotify token for user {}", user.getName()); log.info("Refreshed Spotify token for user {}", user.getName());
} catch (SpotifyWebApiException ex) { } catch (SpotifyWebApiException ex) {
log.error("Failed to refresh Spotify token", ex); log.error("Failed to refresh Spotify token", ex);
throw new SpotifyTokenRefreshException("Failed to refresh Spotify token", ex);
} }
} }