From f7f3b326e04b3313d41052cc7fb5d0153723f750 Mon Sep 17 00:00:00 2001 From: Gordon Woodhull Date: Tue, 25 Mar 2025 16:12:53 -0400 Subject: [PATCH] print error when reading project when the project is invalid in a playwright test, the actual error is not printed, and it doesn't seem that this error makes it into the playwright report either. --- tests/utils.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/utils.ts b/tests/utils.ts index a7a50447312..20a6b568b95 100644 --- a/tests/utils.ts +++ b/tests/utils.ts @@ -52,6 +52,7 @@ export function findProjectOutputDir(projectdir: string | undefined) { // deno-lint-ignore no-explicit-any type = ((yaml as any).project as any).type; } catch (error) { + console.error(error); throw new Error("Failed to read quarto project YAML", error); } if (type === "book") {