Skip to content

Commit

Permalink
fix: 🐛 error info
Browse files Browse the repository at this point in the history
  • Loading branch information
bubkoo committed Sep 25, 2020
1 parent 897503d commit 0a8eaba
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,10 @@ export namespace Util {
...secret,
secret_name: name,
})
} catch (error) {
core.error(error)
core.setFailed(error)
} catch (e) {
core.error(e)
core.error(JSON.stringify(e, null, 2))
core.setFailed(e.message)
}
}
}

0 comments on commit 0a8eaba

Please sign in to comment.