Welcome! Log In Create A New Profile

Advanced

Re: drizzle-nginx-module error body missing?

agentzh
October 16, 2011 01:14AM
On Sun, Oct 16, 2011 at 1:00 PM, dannynoonan <nginx-forum@nginx.us> wrote:
> I'm using nginx drizzle to insert to a table. I have a unique key
> constraint on the table. When I try to insert and violate the unique
> constraint, I get a 500 from the nginx location doing the mysql query,
> but no response body or headers to pass on to my client indicating what
> the mysql error was. I can easily check for the 500 in the location
> calling the mysql location, but I'd like to pass on the error code to
> the actual client with some useful error information and not mask any
> further 500's.
>

I'll add a new directive named drizzle_outptu_errors to control
whether to return the underlying error code and error string in the
RDS output in the next few days or so.

Thank you for reminding me of this missing feature :)

Thanks!
-agentzh

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

drizzle-nginx-module error body missing?

dannynoonan October 16, 2011 01:00AM

Re: drizzle-nginx-module error body missing?

agentzh October 16, 2011 01:14AM

Re: drizzle-nginx-module error body missing?

dannynoonan October 16, 2011 01:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 325
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready