MCPcopy Index your code
hub / github.com/mailvelope/mailvelope / encryptError

Method encryptError

src/controller/encrypt.controller.js:49–56  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

47 }
48
49 async encryptError(err) {
50 if (err.code == 'EDITOR_DIALOG_CANCEL') {
51 await this.removePeer('editorController');
52 this.emit('mail-editor-close');
53 return;
54 }
55 console.log('Error calling editor in encrypt controller', err);
56 }
57}

Callers

nothing calls this directly

Calls 2

removePeerMethod · 0.80
emitMethod · 0.45

Tested by

no test coverage detected