Skip to content

Handle exception when adding attachment that does not exist on file system.#449

Merged
kspearrin merged 1 commit intobitwarden:masterfrom
devsecdan:master
Jan 22, 2019
Merged

Handle exception when adding attachment that does not exist on file system.#449
kspearrin merged 1 commit intobitwarden:masterfrom
devsecdan:master

Conversation

@devsecdan
Copy link

@devsecdan devsecdan commented Jan 22, 2019

Bitwarden crashes when trying to add a file that does not exist on the filesystem as an attachment.

The Android 'Documents' app seems to keep a cache of downloaded files despite those files having been deleted off of the file system. This causes Bitwarden to crash when the user selects them.

I figure that presenting some error to the user when this happens makes sense, but beyond the generic "An error has occurred" message, I couldn't find a suitable resource.

@kspearrin kspearrin merged commit 60c5bbc into bitwarden:master Jan 22, 2019
@kspearrin
Copy link
Member

Thanks

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