Do you have access to the server as well? If so, view the error in the console.
If you have no control of the server then you're most likely out of luck. Adrian On 31 October 2014 21:50, Jiayu Liu <[email protected]> wrote: > I tried to request server by ajax, but console just gave me 500 status > code if there are some bugs of my code. That's so inconvenient that I try > to fix that bug. Is there any approach to print the err stack when I > request by ajax? > > -- > Job board: http://jobs.nodejs.org/ > New group rules: > https://gist.github.com/othiym23/9886289#file-moderation-policy-md > Old group rules: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/nodejs/a03bb99d-4132-458d-bc74-7fd13b98ea1a%40googlegroups.com > <https://groups.google.com/d/msgid/nodejs/a03bb99d-4132-458d-bc74-7fd13b98ea1a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CAH368SQqBbOS622r7L7sma0stEMDL-X0uRbgPYBTi8OHMEBEdg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
