Fix bug in code to skip error items on Android.
This commit is contained in:
parent
d6e14ae9d6
commit
e977949d46
3 changed files with 11 additions and 7 deletions
|
@ -71,7 +71,7 @@ class _MyAppState extends State<MyApp> {
|
|||
await _player.load(_playlist);
|
||||
} catch (e) {
|
||||
// catch load errors: 404, invalid url ...
|
||||
print("An error occured (${e.code}): ${e.message}");
|
||||
print("An error occured $e");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue