worker: remove try catch from generatePage method... use one one error handler for json and html instead