Commit fd95db8
committed
fix: improve error handling and logging mechanisms
- Add `os.Exit(1)` call to the `Fatal` method in `defaultLogger` to ensure the program exits after logging a fatal error
Signed-off-by: appleboy <[email protected]>1 parent 67990e1 commit fd95db8
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
0 commit comments