Sending bad requests into error log with details