Create collection: gracefully handle IO exceptions.

pull/96/head
Tom Hacohen 5 years ago
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…
Cancel
Save