Skip to content

Commit

Permalink
Print entire error
Browse files Browse the repository at this point in the history
  • Loading branch information
bigdaz committed Dec 19, 2023
1 parent aa13c4f commit 58d37ce
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -93700,7 +93700,7 @@ function submitDependencyGraphs(dependencyGraphFiles) {
core.warning(`Failed to submit dependency graph ${relativeJsonFile}.\n` +
"Please ensure that the 'contents: write' permission is available for the workflow job.\n" +
"Note that this permission is never available for a 'pull_request' trigger from a repository fork.");
core.info(String(error));
core.info(JSON.stringify(error));
}
else {
throw error;
Expand Down
2 changes: 1 addition & 1 deletion dist/main/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/post/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -93700,7 +93700,7 @@ function submitDependencyGraphs(dependencyGraphFiles) {
core.warning(`Failed to submit dependency graph ${relativeJsonFile}.\n` +
"Please ensure that the 'contents: write' permission is available for the workflow job.\n" +
"Note that this permission is never available for a 'pull_request' trigger from a repository fork.");
core.info(String(error));
core.info(JSON.stringify(error));
}
else {
throw error;
Expand Down
2 changes: 1 addition & 1 deletion dist/post/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/dependency-graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ async function submitDependencyGraphs(dependencyGraphFiles: string[]): Promise<v
"Please ensure that the 'contents: write' permission is available for the workflow job.\n" +
"Note that this permission is never available for a 'pull_request' trigger from a repository fork."
)
core.info(String(error))
core.info(JSON.stringify(error))
} else {
throw error
}
Expand Down

0 comments on commit 58d37ce

Please sign in to comment.