File tree Expand file tree Collapse file tree 1 file changed +17
-9
lines changed Expand file tree Collapse file tree 1 file changed +17
-9
lines changed Original file line number Diff line number Diff line change @@ -48,11 +48,13 @@ const actionHelper = {
4848 }
4949 }
5050 }
51- } catch ( err ) {
52- console . log ( `Error when reading the rules file: ${ tsvFile } err: ${ (
53- err as Error
54- ) . toString ( ) } `) ;
55- }
51+ catch ( err ) {
52+ console . error (
53+ `Error when reading the rules file: ${ tsvFile } err: ${ (
54+ err as Error
55+ ) . toString ( ) } `,
56+ ) ;
57+ }
5658
5759 return plugins ;
5860 } ,
@@ -205,7 +207,11 @@ const actionHelper = {
205207 try {
206208 res = fs . readFileSync ( reportName , { encoding : "base64" } ) ;
207209 } catch ( err ) {
208- console . log ( "error while reading the markdown file!" ) ;
210+ console . error (
211+ `Error occurred while reading the markdown file! err: ${ (
212+ err as Error
213+ ) . toString ( ) } `,
214+ ) ;
209215 }
210216 return res ;
211217 } ,
@@ -287,9 +293,11 @@ const actionHelper = {
287293 } ) ;
288294 }
289295 } catch ( err ) {
290- console . log ( `Error occurred while downloading the artifacts! err: ${ (
291- err as Error
292- ) . toString ( ) } `) ;
296+ console . error (
297+ `Error occurred while downloading the artifacts! err: ${ (
298+ err as Error
299+ ) . toString ( ) } `,
300+ ) ;
293301 }
294302 return previousReport ;
295303 } ,
You can’t perform that action at this time.
0 commit comments