Commit bee35d9 1 parent 9f36650 commit bee35d9 Copy full SHA for bee35d9
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ export class SpotifyApiWrapper {
111
111
this . spotifyApi . setAccessToken ( data . body [ 'access_token' ] ) ;
112
112
this . spotifyApi . setRefreshToken ( data . body [ 'refresh_token' ] ) ;
113
113
} catch ( err ) {
114
- this . log . error ( 'Could not authorize Spotify:\n\n' , err ) ;
114
+ this . log . error ( 'Could not authorize Spotify:\n\n' , JSON . stringify ( err ) ) ;
115
115
}
116
116
}
117
117
@@ -178,7 +178,7 @@ export class SpotifyApiWrapper {
178
178
}
179
179
180
180
const errorMessage = isWebApiError ? ( error as WebapiError ) . body : error ;
181
- this . log . error ( 'Unexpected error when making a request to Spotify:' , errorMessage ) ;
181
+ this . log . error ( 'Unexpected error when making a request to Spotify:' , JSON . stringify ( errorMessage ) ) ;
182
182
}
183
183
}
184
184
}
You can’t perform that action at this time.
0 commit comments