Commit 41e5a65
fix(init): normalize bare CR to LF in captured logs
The runtime emits multi-line records (e.g. an unhandled-init traceback) as a single
log frame with internal newlines replaced by bare carriage returns. AWS renders
these back as line feeds, so convert bare CR to LF in the assembled log output while
preserving genuine CRLF endings (which AWS keeps, e.g. the LAMBDA_WARNING line).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 72a8b9f commit 41e5a65
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
41 | 50 | | |
42 | | - | |
| 51 | + | |
43 | 52 | | |
44 | 53 | | |
45 | 54 | | |
| |||
0 commit comments