Skip to content
Snippets Groups Projects
Commit 5bc1301f authored by James Calfee's avatar James Calfee Committed by GitHub
Browse files

Merge pull request #428 from steemit/185-cleanup

fix var name
parents 580d4b92 2131e43e
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ function stripHtmlWrapper(text) {
function addHtmlWrapper(body) {
if(/^<html>/.test(body)) {
const err = "Error: content passed to addHtmlWrapper is already wrapped";
serverApiRecordEvent('assert_error', error);
serverApiRecordEvent('assert_error', err);
console.log(err);
return body
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment