Skip to content

Commit

Permalink
improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
chrnorm committed May 21, 2022
1 parent 7c1b545 commit e20e393
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function run() {
}
catch (error) {
core.error(error);
core.setFailed(error.message);
core.setFailed(`Error creating GitHub deployment: ${error.message}`);
}
});
}
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function run() {
}
catch (error) {
core.error(error);
core.setFailed(error.message);
core.setFailed(`Error creating GitHub deployment: ${error.message}`);
}
});
}
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ async function run(): Promise<void> {
core.setOutput('deployment-url', deployment.data.url)
} catch (error: any) {
core.error(error)
core.setFailed(error.message)
core.setFailed(`Error creating GitHub deployment: ${error.message}`)
}
}

Expand Down

0 comments on commit e20e393

Please sign in to comment.