diff --git a/src/lib/api/tests/addons.test.ts b/src/lib/api/tests/addons.test.ts index 2a8a4a42d..afe33c60d 100644 --- a/src/lib/api/tests/addons.test.ts +++ b/src/lib/api/tests/addons.test.ts @@ -170,9 +170,6 @@ describe("addon payloads", () => { const form = buildForm(parameters); const payload = addons.buildPayload(scraper, form, true); - if (payload.errors) { - console.warn(payload.errors); - } expect(payload.valid).toBeTruthy(); expect(payload).toMatchObject({ diff --git a/src/lib/components/viewer/ViewerContext.svelte b/src/lib/components/viewer/ViewerContext.svelte index de03df85d..bf4ae6c84 100644 --- a/src/lib/components/viewer/ViewerContext.svelte +++ b/src/lib/components/viewer/ViewerContext.svelte @@ -173,7 +173,7 @@ layouts, stories, and tests. }; task.promise.catch((error) => { - console.warn(error); + console.error(error); $currentErrors = [...$currentErrors, error]; throw error; });