Skip to content

Commit

Permalink
main: Pass error message to @actions/core error().
Browse files Browse the repository at this point in the history
This fixes #119.
  • Loading branch information
paambaati committed Mar 4, 2020
1 parent 857b291 commit bb2c677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export function run(
}
debug('✅ Coverage run completed...');
} catch (err) {
error(err);
error(err.message);
setFailed('🚨 Coverage run failed!');
return reject(err);
}
Expand Down

0 comments on commit bb2c677

Please sign in to comment.