Now I also need to make sure the debug log doesn't try to save the entire 1.47MB `full_content` — that was also a problem (the log file was 1.5MB!). Let me cap the logged content:


2289:                    full_content: fullContent


Edit

full_content: fullContent.substring(0, 10000) + (fullContent.length > 10000 ? '\n...(truncated in log, full was ' + fullContent.length + ' chars)' : '')