Skip to content

Commit 6446971

Browse files
author
Allen Manning
authored
Merge pull request #4853 from quarto-dev/task/improve-verify-logging
[Confluence] Verbose logging of verifyLocationExists #4852
2 parents b6ae94d + 4ffb1de commit 6446971

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/publish/confluence/confluence-verify.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { getMessageFromAPIError } from "./confluence-helper.ts";
44
import { withSpinner } from "../../core/console.ts";
55
import { Confirm } from "cliffy/prompt/mod.ts";
66
import { ConfluenceParent, Space, User } from "./api/types.ts";
7+
import { trace } from "./confluence-logger.ts";
78

89
const verifyWithSpinner = async (
910
verifyCommand: () => Promise<void>,
@@ -34,6 +35,7 @@ const verifyLocationExists = async (server: string) => {
3435
throw new Error("");
3536
}
3637
} catch (error) {
38+
trace("server doesnt exist", error);
3739
throw new Error(`${server} doesn't exist`);
3840
}
3941
};

0 commit comments

Comments
 (0)