Skip to content

Commit

Permalink
fix: onError callback (#936)
Browse files Browse the repository at this point in the history
Ref #934
  • Loading branch information
Feichtmeier authored Oct 1, 2024
1 parent 66bca61 commit 3790021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/local_audio/local_audio_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ FutureOr<ImportResult> _readAudiosFromDirectory(String? directory) async {
if (directory != null && Directory(directory).existsSync()) {
final entities = await Directory(directory)
.list(recursive: true, followLinks: false)
.handleError((e) => failedImports.add(e))
.handleError((e) => failedImports.add(e.toString()))
.toList();

for (final e in entities) {
Expand Down

0 comments on commit 3790021

Please sign in to comment.