change internal error to warning

This commit is contained in:
Dmitry Shibanov 2022-03-30 14:34:57 +02:00
parent 62e9de96c2
commit 8a5e1b59e0
5 changed files with 13 additions and 7 deletions

View file

@ -3884,8 +3884,9 @@ function isCacheFeatureAvailable() {
throw new Error('Cache action is only supported on GHES version >= 3.5. If you are on version >=3.5 Please check with GHES admin if Actions cache service is enabled or not.');
}
else {
throw new Error('An internal error has occurred in cache backend. Please check https://www.githubstatus.com/ for any ongoing issue in actions.');
core.warning('An internal error has occurred in cache backend. Please check https://www.githubstatus.com/ for any ongoing issue in actions.');
}
return false;
}
return true;
}