gnosek / fcgiwrap

Simple FastCGI wrapper for CGI scripts
http://nginx.localdomain.pl/
MIT License
407 stars 134 forks source link

Additional debug message #29

Open w32zhong opened 9 years ago

w32zhong commented 9 years ago

Print additional debug message to stderr when execution of script failed.

w32zhong commented 9 years ago

I spent a lot of time figuring out why my script cannot be executed (502 Gateway error), it turns out that my Bash script is missing Shebang line. It would be great if a debug message can be printed out so that I do not need to hack the code to find out why.