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

Media utils: catch IllegalStateException

(cherry picked from commit 62c72805)
parent e05ad5ac
No related branches found
No related tags found
No related merge requests found
Pipeline #5810 passed with stage
in 3 minutes and 55 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