[Dancer-users] status code needs to be an integer greater than or equal to 100...
punk.kish at gmail.com
Mon Jan 17 18:32:04 CET 2011
I am quite frustrated with Dancer's error reporting, perhaps the only
part of it that needs improvement, since the rest of Dancer is so wonderful.
I am getting the dreaded, "status code needs to be an integer greater
than or equal to 100 at
line 27" message in my browser, all nicely and neatly formatted. I can't
for the life of me figure out what is triggering this, so the only
recourse I have is to comment my code completely and then uncomment
lines one by one. Any suggestions on how I can make this process more
scientific and quick?
Besides this, the problem is that Dancer seems to report messages in
different ways depending on when the error is trapped. Sometimes, I get
this nicely formatted message, colors and all, in my browser. Sometimes,
I get just a plain text message in my browser. Sometimes, I get the
"Internal Server Error" and then I have to pore through the Apache logs.
This inconsistency makes for difficulty.
More information about the Dancer-users