From e6a5f365e1864d621cf233c1ab9ddf0fd1cadb9f Mon Sep 17 00:00:00 2001 From: Jackie Luo Date: Thu, 18 Aug 2016 09:27:58 -0700 Subject: [PATCH] fix(errors): Remove reporting for applyTransformsToDraft --- src/flux/stores/draft-helpers.es6 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/flux/stores/draft-helpers.es6 b/src/flux/stores/draft-helpers.es6 index 99dc040b5..17713acc2 100644 --- a/src/flux/stores/draft-helpers.es6 +++ b/src/flux/stores/draft-helpers.es6 @@ -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()