From 7ae019bc60e8e29ab0bbfebc42d87b98d3bd61f7 Mon Sep 17 00:00:00 2001 From: "Chris E. Kelley" Date: Mon, 9 Nov 2020 12:43:48 -0600 Subject: [PATCH] Added hook text to console.log --- tangy-form.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tangy-form.js b/tangy-form.js index 89b3d432..b3d9aba3 100644 --- a/tangy-form.js +++ b/tangy-form.js @@ -667,6 +667,7 @@ export class TangyForm extends PolymerElement { const message = `${t(`Error detected in the form's logic:`)} ${hook}` console.log(message) console.log(e) + console.log("Hook text: " + this.getAttribute(hook)) this.errorMessage(message) } }