isLoggingEnabled()): ?> escapeJs($block->getSessionStorageKey())}"; var errors = {}; if (sessionStorage.getItem(key)) { errors = JSON.parse(sessionStorage.getItem(key)); } if (!(window.location.href in errors)) { errors[window.location.href] = []; } errors[window.location.href].push("error: \'" + msg + "\' " + "file: " + url + " " + "line: " + line); sessionStorage.setItem(key, JSON.stringify(errors)); }; script; ?> renderTag('script', [], $scriptString, false) ?>