#1667·gotenberg

Feature Request: Also return JS console content (at least error/warn)

Author: jschneiderCreated Sep 25, 2026Updated Sep 26, 2026
Labelsenhancementchromium

Many/some pages build their content with JavaScript (layout, pagination, calculations, you name it). When that script fails, it typically catches the error and reports it with console.error. The conversion still returns HTTP 200.

In these cases any line in console.err indicates an error. I would like Gotenberg to return console.err + warn - and optionally console.log (optional multiplart?). Or maybe introduce "failOnConsoleErrors" or something like that.