Skip to content

Commit

Permalink
Improve exception reporting on Android.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanheise committed Dec 15, 2024
1 parent 28462e1 commit b7e3449
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -513,10 +513,10 @@ public void onMethodCall(final MethodCall call, final Result result) {
}
} catch (IllegalStateException e) {
e.printStackTrace();
result.error("Illegal state: " + e.getMessage(), null, null);
result.error("Illegal state: " + e.getMessage(), e.toString(), null);
} catch (Exception e) {
e.printStackTrace();
result.error("Error: " + e, null, null);
result.error("Error: " + e, e.toString(), null);
} finally {
broadcastPendingPlaybackEvent();
}
Expand Down
2 changes: 1 addition & 1 deletion just_audio/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ environment:
dependencies:
flutter:
sdk: flutter
audio_session: ^0.1.14
audio_session: ^0.1.23
rxdart: ^0.28.0
just_audio_mpv: ^0.1.6
just_audio_windows: ^0.2.0
Expand Down
2 changes: 1 addition & 1 deletion just_audio/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies:
just_audio_web: ^0.4.11
# just_audio_web:
# path: ../just_audio_web
audio_session: ^0.1.14
audio_session: ^0.1.23
rxdart: '>=0.26.0 <0.29.0'
path: ^1.8.0
path_provider: ^2.0.0
Expand Down
2 changes: 1 addition & 1 deletion just_audio_background/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ environment:
dependencies:
flutter:
sdk: flutter
audio_session: ^0.1.14
audio_session: ^0.1.23
rxdart: ^0.27.2
just_audio:
path: ../../just_audio
Expand Down
2 changes: 1 addition & 1 deletion just_audio_background/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies:
# just_audio_platform_interface:
# path: ../just_audio_platform_interface
audio_service: ^0.18.14
audio_session: ^0.1.20
audio_session: ^0.1.23
flutter:
sdk: flutter
flutter_web_plugins:
Expand Down

0 comments on commit b7e3449

Please sign in to comment.