mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-10 02:03:07 +08:00
fix(errors): Remove reporting for applyTransformsToDraft
This commit is contained in:
parent
e50de88374
commit
e6a5f365e1
1 changed files with 2 additions and 1 deletions
|
@ -97,7 +97,8 @@ export function applyExtensionTransformsToDraft(draft) {
|
|||
console.log(transformed.body)
|
||||
console.log("-- UNTRANSFORMED (should match BEFORE) --")
|
||||
console.log(untransformed.body)
|
||||
NylasEnv.reportError(new Error(`Extension ${ext.name} applied a transform to the draft that it could not reverse.`))
|
||||
// FIXME: We're removing the error reporting for now, but the real fix is finding out why the console opens when dev mode is false.
|
||||
// NylasEnv.reportError(new Error(`Extension ${ext.name} applied a transform to the draft that it could not reverse.`))
|
||||
}
|
||||
latestTransformed = transformed
|
||||
return Promise.resolve()
|
||||
|
|
Loading…
Reference in a new issue