mirror of
https://github.com/etesync/android
synced 2024-12-23 07:08:16 +00:00
Create collection: gracefully handle IO exceptions.
This commit is contained in:
parent
d3ad17e0bb
commit
d659b48f6d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user