reporting this error to the server log does you no good.

It's a lot better to report this to the client, which has more context on the actual operation attempted.