Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
localSite.getSiteDocument().catch(e => {
if (ParseError.isParseError(e)) {
notifyAdmin("parse-error", e.path);
}
throw e;
});