Skip to content
Snippets Groups Projects
Commit 62c72805 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Media utils: catch IllegalStateException

parent 09fa2ed8
No related branches found
No related tags found
No related merge requests found
Pipeline #5808 failed with stage
in 8 minutes and 23 seconds
......@@ -414,6 +414,7 @@ object MediaUtils : CoroutineScope {
} catch (ignored: UnsupportedOperationException) {
} catch (ignored: IllegalArgumentException) {
} catch (ignored: NullPointerException) {
} catch (ignored: IllegalStateException) {
} catch (ignored: SecurityException) {}
fun deletePlaylist(playlist: Playlist) = launch(Dispatchers.IO) { playlist.delete() }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment