Repository navigation
Commit 5e4e4e0
committed
fix(opencode): add comprehensive error handling to oclite entry (#128)
- Add process.on('unhandledRejection') handler
- Add process.on('uncaughtException') handler
- Add main().catch() for fatal errors
- All errors logged via Log.Default.error() or console.error
Improves error visibility and graceful failure for #1281 parent 24159ee commit 5e4e4e0
1 file changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
18 | 30 | | |
19 | 31 | | |
20 | 32 | | |
| |||
28 | 40 | | |
29 | 41 | | |
30 | 42 | | |
31 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
0 commit comments