Remove catch() block
This commit is contained in:
parent
42ef0facc9
commit
8d1baca60e
1 changed files with 0 additions and 4 deletions
|
@ -46,10 +46,6 @@ class FileSender extends EventEmitter {
|
|||
},
|
||||
true,
|
||||
['encrypt', 'decrypt']
|
||||
)
|
||||
.catch(err =>
|
||||
// eslint-disable-next-line no-console
|
||||
console.error('There was an error generating a crypto key')
|
||||
),
|
||||
new Promise((resolve, reject) => {
|
||||
const reader = new FileReader();
|
||||
|
|
Loading…
Reference in a new issue