From 9d47b86d544f6a8cada162884bf05ed0d9c97f6b Mon Sep 17 00:00:00 2001 From: benStre Date: Thu, 30 Nov 2023 20:26:07 +0100 Subject: [PATCH] add error reporting --- deno.json | 2 +- utils/error-reporting.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/deno.json b/deno.json index ad50f43d..0b91baa6 100644 --- a/deno.json +++ b/deno.json @@ -1,5 +1,5 @@ { - "importMap": "importmap.dev.json", + "importMap": "importmap.json", "compilerOptions": { "lib": ["deno.window", "dom", "deno.unstable"] }, diff --git a/utils/error-reporting.ts b/utils/error-reporting.ts index fdf45042..72247441 100644 --- a/utils/error-reporting.ts +++ b/utils/error-reporting.ts @@ -22,8 +22,6 @@ export async function sendReport(id: string, reportData:Record) { stack: getCallerInfo() } - console.log("report", report); - const dx = `@+unyt_status.Reporting.sendReport(?)` const dxb = await Compiler.compile(dx, [report], {sign: false, encrypt: false}); sendDatexViaHTTPChannel(dxb, "https://status.unyt.org")