fix typo in variable name

This commit is contained in:
Thomas Lovén 2018-10-19 16:35:52 +02:00
parent 1589c3fc51
commit c9d140281b

View File

@ -102,7 +102,7 @@ class StateBadge extends PolymerElement {
Object.assign(this.$.icon.style, iconStyle);
Object.assign(this.style, hostStyle);
if (errorMessage) {
throw new Error(`Frontend error: ${message}`);
throw new Error(`Frontend error: ${errorMessage}`);
}
}
}