Skip to content

Commit 2d27f9b

Browse files
committed
debug: add debug logging to see what API endpoint proxima stamp uses
1 parent 467d7e6 commit 2d27f9b

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

lib/api-client.js

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/api-client.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/api-client.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import * as retry from "@octokit/plugin-retry";
44
import consoleLogLevel from "console-log-level";
55

66
import { getActionVersion, getRequiredInput } from "./actions-util";
7+
import { getRunnerLogger } from "./logging";
78
import { parseRepositoryNwo } from "./repository";
89
import {
910
ConfigurationError,
@@ -116,6 +117,9 @@ export async function getGitHubVersion(): Promise<GitHubVersion> {
116117
getApiDetails(),
117118
);
118119
}
120+
getRunnerLogger(true).info(JSON.stringify(cachedGitHubVersion));
121+
getRunnerLogger(true).info(getApiDetails().url);
122+
getRunnerLogger(true).info(getApiDetails().apiURL);
119123
return cachedGitHubVersion;
120124
}
121125

0 commit comments

Comments
 (0)