mirror of
https://github.com/etesync/android
synced 2025-01-11 00:01:12 +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
|
return e
|
||||||
} catch (e: Exceptions.AssociateNotAllowedException) {
|
} catch (e: Exceptions.AssociateNotAllowedException) {
|
||||||
return e
|
return e
|
||||||
|
} catch (e: Exception) {
|
||||||
|
// Also catch all exceptions
|
||||||
|
return e
|
||||||
}
|
}
|
||||||
|
|
||||||
return null
|
return null
|
||||||
|
Loading…
Reference in New Issue
Block a user