mirror of
https://github.com/actions/setup-python.git
synced 2025-04-24 15:32:13 +00:00
Fix error message to debug
This commit is contained in:
parent
1bf238588b
commit
a29dca77bb
1 changed files with 2 additions and 2 deletions
|
@ -64,9 +64,9 @@ export async function getManifest(): Promise<tc.IToolRelease[]> {
|
|||
'The repository manifest is invalid or does not include any valid tool release (IToolRelease) entries.'
|
||||
);
|
||||
} catch (err) {
|
||||
core.error('Failed to fetch the manifest from the repository API.');
|
||||
core.debug('Failed to fetch the manifest from the repository API.');
|
||||
if (err instanceof Error) {
|
||||
core.error(`Error message: ${err.message}`);
|
||||
core.debug(`Error message: ${err.message}`);
|
||||
core.debug(`Error stack: ${err.stack}`);
|
||||
} else {
|
||||
core.error('An unexpected error occurred while fetching the manifest.');
|
||||
|
|
Loading…
Add table
Reference in a new issue