Skip to content

Commit 127f2a3

Browse files
author
Cookiezaurs
committed
[core] Hide error details on render error from response
1 parent b8c8573 commit 127f2a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/utils/requestProcessor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ const processRequest = (params) => {
392392
options.token = token;
393393
render.renderView(options, function(err3) {
394394
if (err3) {
395-
common.returnMessage(params, 400, 'Error creating screenshot: ' + err3);
395+
common.returnMessage(params, 400, 'Error creating screenshot. Please check logs for more information.');
396396
return false;
397397
}
398398
common.returnOutput(params, {path: common.config.path + "/images/screenshots/" + imageName});

0 commit comments

Comments
 (0)