Skip to content

Commit

Permalink
Merge pull request #14 from Staffbase/error-handling
Browse files Browse the repository at this point in the history
🐛 error handling
  • Loading branch information
jreimone authored Jul 10, 2023
2 parents 19610e8 + 1fcc022 commit fa85ece
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/triggerTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ async function triggerTest() {
console.log("Created test with id: " + createdTest.exploratory_test.id)
core.setOutput("testio-created-test-id", createdTest.exploratory_test.id);
})
.catch((error) => {
Util.throwErrorAndPrepareErrorMessage(error, errorFileName);
.catch((error: Error) => {
Util.throwErrorAndPrepareErrorMessage(error.message, errorFileName);
});

}
Expand Down

0 comments on commit fa85ece

Please sign in to comment.