mirror of
https://github.com/BradNut/awesome-uses
synced 2025-09-08 17:40:31 +00:00
change wording of output
This commit is contained in:
parent
2ed2ea5ca1
commit
d681750ba2
1 changed files with 2 additions and 2 deletions
|
|
@ -59,12 +59,12 @@ async function isWorkingUrl(url) {
|
|||
try {
|
||||
const statusCode = await getStatusCode(url);
|
||||
if (statusCode < 200 || statusCode >= 300) {
|
||||
core.error(`URL: "${url}" failed with status: ${statusCode}`);
|
||||
core.error(`Ping to "${url}" failed with status: ${statusCode}`);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
} catch (e) {
|
||||
core.error(`URL: "${url}" failed with error: ${e}`);
|
||||
core.error(`Ping to "${url}" failed with error: ${e}`);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue