Skip to content

Commit ea4bc8b

Browse files
kumaraksh1Akshay Kumar
andauthored
Refactor Deployment Error Message (#320)
Co-authored-by: Akshay Kumar <[email protected]>
1 parent 0684687 commit ea4bc8b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lib/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ function main() {
5656
isDeploymentSuccess = false;
5757
if (error.statusCode == 403) {
5858
core.setFailed("The deployment to your web app failed with HTTP status code 403. \
59-
Your web app may have networking features enabled which are blocking access (such as Private Endpoints).\
60-
For more information, please follow https://aka.ms/forbidden-deployment-error");
59+
Your web app may have networking features enabled which are blocking access (such as Private Endpoints). \
60+
For more information about deploying to virtual network integrated web apps, please follow https://aka.ms/gha/deploying-to-network-secured-sites");
6161
}
6262
else {
6363
core.setFailed("Deployment Failed, " + error);

src/main.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ export async function main() {
5050

5151
if (error.statusCode == 403) {
5252
core.setFailed("The deployment to your web app failed with HTTP status code 403. \
53-
Your web app may have networking features enabled which are blocking access (such as Private Endpoints).\
54-
For more information, please follow https://aka.ms/forbidden-deployment-error");
53+
Your web app may have networking features enabled which are blocking access (such as Private Endpoints). \
54+
For more information about deploying to virtual network integrated web apps, please follow https://aka.ms/gha/deploying-to-network-secured-sites");
5555
} else {
5656
core.setFailed("Deployment Failed, " + error);
5757
}
@@ -68,4 +68,4 @@ export async function main() {
6868
}
6969
}
7070

71-
main();
71+
main();

0 commit comments

Comments
 (0)