Remove unneeded cause

This commit is contained in:
James Stuckey Weber 2023-07-06 19:38:06 -04:00
parent f19afaf077
commit e81e4a0ec6

View File

@ -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,
};