Skip to content

Commit

Permalink
fix(ilc-server): log user-agent on seobotstream error
Browse files Browse the repository at this point in the history
  • Loading branch information
stas-nc committed Feb 29, 2024
1 parent b8a2f94 commit dfa9452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ilc/server/tailor/error-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module.exports = function setup(tailor, errorHandlingService) {
} else {
errorHandlingService.noticeError(
new errors.TailorError({ message: `Tailor error while headers already sent ${urlPart}`, cause: err }),
{},
{ userAgent: req.headers['user-agent'] },
{ reportError: !req.ldeRelated },
);
}
Expand Down

0 comments on commit dfa9452

Please sign in to comment.