Skip to content

Commit f7f3b32

Browse files
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.
1 parent c2d7723 commit f7f3b32

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export function findProjectOutputDir(projectdir: string | undefined) {
5252
// deno-lint-ignore no-explicit-any
5353
type = ((yaml as any).project as any).type;
5454
} catch (error) {
55+
console.error(error);
5556
throw new Error("Failed to read quarto project YAML", error);
5657
}
5758
if (type === "book") {

0 commit comments

Comments
 (0)