Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I use ColdFusion (well, technically I use Railo) and I love it.

I agree that the owner of the website here needs a <CFERROR> tag, which tells the server what to do instead of showing that big error message.



CFWheels has that already built into it, but I'm convinced that its a problem with the framework itself and not anything the author did.

the issue seems coming from this line:

https://github.com/cfwheels/cfwheels/blob/v1.1.8/wheels/even...

basically when wheels throws an error, it will try to send out an error email containing the environment and framework information. In this case there seems to be no smtp server defined, so CFML itself is spitting up its skull.

The error handling can be reworked so that the $mail() call is wrap in a try/catch so the 500 page will just be shown.

disclosure: part of wheels core.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: