Consider error status 400 as fatal in output messages.

This commit is contained in:
default 2023-09-01 11:50:01 +02:00
parent 57c84d1c3a
commit 4e87a1106a

View file

@ -1901,7 +1901,7 @@ void process_queue_item(xs_dict *q_item)
retries++; retries++;
/* error sending; requeue? */ /* error sending; requeue? */
if (status == 404 || status == 410 || status < 0) if (status == 400 || status == 404 || status == 410 || status < 0)
/* explicit error: discard */ /* explicit error: discard */
srv_log(xs_fmt("output message: fatal error %s %d", inbox, status)); srv_log(xs_fmt("output message: fatal error %s %d", inbox, status));
else else