From e81e4a0ec6288e67e79e738769d7d555342a69d2 Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Thu, 6 Jul 2023 19:38:06 -0400 Subject: [PATCH] Remove unneeded cause --- source/assets/js/playground/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/assets/js/playground/utils.ts b/source/assets/js/playground/utils.ts index e9964c2..42bb51a 100644 --- a/source/assets/js/playground/utils.ts +++ b/source/assets/js/playground/utils.ts @@ -105,7 +105,7 @@ export function logsToDiagnostics(logs: ConsoleLog[]): Diagnostic[] { export const customLoader: Importer<'sync'> = { canonicalize() { - throw new Error(PLAYGROUND_LOAD_ERROR_MESSAGE, {cause: 'Test'}); + throw new Error(PLAYGROUND_LOAD_ERROR_MESSAGE); }, load: () => null, };