Skip to content

Catch FileNotFoundException on contact import#815

Open
audax wants to merge 3 commits intoQabel:masterfrom
audax:contact-import-errors
Open

Catch FileNotFoundException on contact import#815
audax wants to merge 3 commits intoQabel:masterfrom
audax:contact-import-errors

Conversation

@audax
Copy link
Member

@audax audax commented Jan 6, 2017

Resolves #791

@audax audax requested a review from JoGir January 6, 2017 15:45
val file = try {
activity.contentResolver.openFileDescriptor(uri, action.accessMode)
} catch (e: FileNotFoundException) {
showImportFailedMessage()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

import or export so may just show a default error

@audax audax assigned audax and unassigned JoGir Jan 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants