Add catch

This commit is contained in:
Anton Medvedev 2020-11-10 23:05:39 +01:00
parent 13c2ed42a5
commit d2f712fdfb

@ -3,8 +3,12 @@ const fs = require('fs')
const execa = require('execa')
void function main() {
try {
ssh()
dep()
} catch (err) {
core.setFailed(err.message)
}
}()
function ssh() {