Skip to content

Commit

Permalink
fixes bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hayribakici committed Jul 13, 2024
1 parent b0ee94f commit f582c8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/spotify_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class SpotifyClient with http.BaseClient {
set logger(value) {
// don't allow to initialize a Logger when logging is disabled.
if (!_enableLogging) {
throw StateError('[enableLogging] must be set to [true]');
return;
}
_logger = value ?? Logger();
}
Expand Down

0 comments on commit f582c8e

Please sign in to comment.