Skip to content

Conversation

@erikaperugachi
Copy link
Contributor

No description provided.

return { filePath: newFilePath, filename };
} catch (e) {
if (!isInlineImage)
return mailboxWindow.send('display-message-error-download');
Copy link
Contributor

Choose a reason for hiding this comment

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

Add a empty object in catch for preventing crash Can not read filename of undefined

@JulianAdams4 JulianAdams4 merged commit 4360387 into Criptext:master Jul 11, 2019
@erikaperugachi erikaperugachi deleted the feed branch July 11, 2019 21:01
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.

3 participants