File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,20 @@ export async function runWithArgs(args: string[]) {
15
15
if ( e instanceof HandledError ) {
16
16
consoleLog ( e . message ) ;
17
17
} else {
18
+ // output
18
19
consoleLog ( '\n' ) ;
19
- consoleLog ( chalk . bold ( '⚠️ An unknown error occurred ⚠️' ) ) ;
20
- consoleLog ( e . message ) ;
20
+ consoleLog ( chalk . bold ( '⚠️ Ouch! An unknown error occured 😿' ) ) ;
21
+ consoleLog ( `Error message: ${ e . message } ` ) ;
22
+
23
+ consoleLog (
24
+ 'Please open an issue in https://github.com/sqren/backport/issues or contact me directly on https://twitter.com/sorenlouv'
25
+ ) ;
26
+
21
27
consoleLog (
22
- chalk . italic (
23
- `Please check the logs for addtional details: ${ getLogfilePath ( ) } `
24
- )
28
+ chalk . italic ( `For additional details see the logs: ${ getLogfilePath ( ) } ` )
25
29
) ;
30
+
31
+ // log file
26
32
logger . info ( 'Unknown error:' , e ) ;
27
33
}
28
34
You can’t perform that action at this time.
0 commit comments