Avoid logging 40x errors as exceptions for now.