Skip to content

Commit

Permalink
Improve test.js exception handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Petar Petrov committed Sep 8, 2021
1 parent dea58a8 commit 13f672b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ async function test() {
}
}
catch (e) {
core.warning(e.message);
core.setFailed(`An error has occured while asserting environment variable with name '${environmentVariableName}'.`);
core.error(e);
}
}

Expand Down

0 comments on commit 13f672b

Please sign in to comment.