unbit / uwsgi

uWSGI application server container
http://projects.unbit.it/uwsgi
Other
3.46k stars 691 forks source link

Python uswsgi spooler "spooler callable dictionary must contains only bytes" is misleading sometimes #1797

Open richard-reece opened 6 years ago

richard-reece commented 6 years ago

We just ran into an issue where we were spooling a job with a large job definition (our bad) but the error we got is effectively a catch-all and will be raised if the uwsgi_buffer_append_keyval call fails because of the large payload. A more user-friendly error message at this point would be appreciated :)

xrmx commented 6 years ago

Thanks for reporting, PR very welcome!