diff --git a/app/src/main/java/de/nicidienase/chaosflix/activities/PlayerActivity.java b/app/src/main/java/de/nicidienase/chaosflix/activities/PlayerActivity.java index 683f070a..31b2cbdd 100644 --- a/app/src/main/java/de/nicidienase/chaosflix/activities/PlayerActivity.java +++ b/app/src/main/java/de/nicidienase/chaosflix/activities/PlayerActivity.java @@ -161,7 +161,7 @@ public class PlayerActivity extends AbstractServiceConnectedAcitivty @Override public void onPlayerError(ExoPlaybackException error) { - String errorMessage = getResources().getString(R.string.error_fragment_message); + String errorMessage = error.getCause().getMessage(); Toast.makeText(PlayerActivity.this,errorMessage,Toast.LENGTH_SHORT).show(); Log.d(TAG,errorMessage,error); PlayerActivity.this.finish();