Skip to content
Snippets Groups Projects
Commit 2131e43e authored by Tim's avatar Tim
Browse files

fix var name

parent f072d45a
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