drizzle-nginx-module error body missing?

agentzh agentzh at gmail.com
Sun Oct 16 05:12:58 UTC 2011


On Sun, Oct 16, 2011 at 1:00 PM, dannynoonan <nginx-forum at 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



More information about the nginx mailing list