Skip to content

Commit

Permalink
add error reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
benStre committed Nov 30, 2023
1 parent c63f411 commit 9d47b86
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"importMap": "importmap.dev.json",
"importMap": "importmap.json",
"compilerOptions": {
"lib": ["deno.window", "dom", "deno.unstable"]
},
Expand Down
2 changes: 0 additions & 2 deletions utils/error-reporting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ export async function sendReport(id: string, reportData:Record<string,any>) {
stack: getCallerInfo()
}

console.log("report", report);

const dx = `@+unyt_status.Reporting.sendReport(?)`
const dxb = <ArrayBuffer> await Compiler.compile(dx, [report], {sign: false, encrypt: false});
sendDatexViaHTTPChannel(dxb, "https://status.unyt.org")
Expand Down

0 comments on commit 9d47b86

Please sign in to comment.