This commit is contained in:
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);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user