mirror of
https://github.com/actions/setup-java.git
synced 2025-05-23 19:11:47 +00:00
Merge pull request #6 from Tradeshift/fix-error-message-handling
Fix error handling
This commit is contained in:
commit
c98cdc2000
4
dist/setup/index.js
generated
vendored
4
dist/setup/index.js
generated
vendored
@ -11107,9 +11107,7 @@ function setupMaven(opts) {
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
if (!e.message.includes('already exists')) {
|
core.warning(`keytool return an error: ${e.message}`);
|
||||||
throw e;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
core.debug(`added maven opts for MTLS access`);
|
core.debug(`added maven opts for MTLS access`);
|
||||||
});
|
});
|
||||||
|
@ -78,9 +78,7 @@ export async function setupMaven(opts: MavenOpts): Promise<void> {
|
|||||||
rooCaPath
|
rooCaPath
|
||||||
]);
|
]);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if (!(e as Error).message.includes('already exists')) {
|
core.warning(`keytool return an error: ${(e as Error).message}`);
|
||||||
throw e;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
core.debug(`added maven opts for MTLS access`);
|
core.debug(`added maven opts for MTLS access`);
|
||||||
|
Loading…
Reference in New Issue
Block a user