fix(extensions): Add name of extension incorrectly applying transforms

This commit is contained in:
Juan Tejada 2016-05-11 10:57:57 -07:00
parent c564b2c0f7
commit a2e72d9d29

View file

@ -413,7 +413,7 @@ class DraftStore
console.log(transformed.body)
console.log("-- UNTRANSFORMED (should match BEFORE) --")
console.log(untransformed.body)
NylasEnv.reportError(new Error("An extension applied a tranform to the draft that it could not reverse."))
NylasEnv.reportError(new Error("Extension #{ext.name} applied a tranform to the draft that it could not reverse."))
draft = transformed
.then =>