1
0
mirror of https://github.com/etesync/android synced 2024-12-23 15:18:14 +00:00

Create collection: gracefully handle IO exceptions.

This commit is contained in:
Tom Hacohen 2019-08-27 18:34:37 +01:00
parent d3ad17e0bb
commit d659b48f6d

View File

@ -140,6 +140,9 @@ class CreateCollectionFragment : DialogFragment(), LoaderManager.LoaderCallbacks
return e
} catch (e: Exceptions.AssociateNotAllowedException) {
return e
} catch (e: Exception) {
// Also catch all exceptions
return e
}
return null