Skip to content

Commit b9a3621

Browse files
committed
log out the request body
1 parent 2a774c3 commit b9a3621

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/bundler-plugin-core/src/utils/getPreSignedURL.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { FailedFetchError } from "../errors/FailedFetchError.ts";
44
import { UploadLimitReachedError } from "../errors/UploadLimitReachedError.ts";
55
import { type ProviderServiceParams } from "../types.ts";
66
import { fetchWithRetry } from "./fetchWithRetry.ts";
7-
import { green, red } from "./logging.ts";
7+
import { debug, green, red } from "./logging.ts";
88
import { preProcessBody } from "./preProcessBody.ts";
99
import { NoUploadTokenError } from "../errors/NoUploadTokenError.ts";
1010
import { findGitService } from "./findGitService.ts";
@@ -95,6 +95,7 @@ export const getPreSignedURL = async ({
9595

9696
let response: Response;
9797
try {
98+
debug(`Request body: ${JSON.stringify(preProcessBody(requestBody))}`);
9899
response = await fetchWithRetry({
99100
retryCount,
100101
url: `${apiUrl}${API_ENDPOINT}`,

0 commit comments

Comments
 (0)