Skip to content

Commit d67323e

Browse files
Update action-helper.ts
Signed-off-by: EinarSnorrason <[email protected]>
1 parent c4e4fb7 commit d67323e

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/action-helper.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ const actionHelper = {
4949
}
5050
}
5151
} catch (err) {
52-
console.log(`Error when reading the rules file: ${tsvFile}`);
52+
console.log(`Error when reading the rules file: ${tsvFile} err: ${(
53+
err as Error
54+
).toString()}`);
5355
}
5456

5557
return plugins;
@@ -284,8 +286,10 @@ const actionHelper = {
284286
}
285287
});
286288
}
287-
} catch (e) {
288-
console.log(`Error occurred while downloading the artifacts!`);
289+
} catch (err) {
290+
console.log(`Error occurred while downloading the artifacts! err: ${(
291+
err as Error
292+
).toString()}`);
289293
}
290294
return previousReport;
291295
},

0 commit comments

Comments
 (0)