Remove catch() block

This commit is contained in:
Peter deHaan 2017-07-29 15:25:50 -07:00
parent 42ef0facc9
commit 8d1baca60e
No known key found for this signature in database
GPG Key ID: F0FC6C01C6305097
1 changed files with 0 additions and 4 deletions

View File

@ -46,10 +46,6 @@ class FileSender extends EventEmitter {
}, },
true, true,
['encrypt', 'decrypt'] ['encrypt', 'decrypt']
)
.catch(err =>
// eslint-disable-next-line no-console
console.error('There was an error generating a crypto key')
), ),
new Promise((resolve, reject) => { new Promise((resolve, reject) => {
const reader = new FileReader(); const reader = new FileReader();