[Solar-talk] Missing output from a thrown exception
Jeff Surgeson
solar at 3hex.com
Tue Apr 29 09:51:59 CDT 2008
> Please correct me if I'm wrong but I would think that the point of
> throwing an exception is to inform a user that something has gone
> wrong, isn't it? However, the only time I see a thrown exception
> output anything to my browser is if I give "Solar::start()" a non
> existing config file to work with (see my pervious mail description of
> my :really: bare bones setup). The rest of the time I just get a blank
> page! Surely that's not what is expected... it's either that or I'm
> horribly missing the point!! :)
No I think you are 100% correct, I overcame the same problem by doing as I
suggested and (mainly through ignorance) used that as a solution.
I also in certain circumstances (exceptions being thrown) get a blank page on
production server (where display_errors) are turned off instead of the error
or exception bubbling up and being caught and displayed by existing error and
exception code.
I think Paul needs to throw some light on the situation, sorry I cant be of
more help.
--
...........::::::...........
Jeff Surgeson / South Africa
More information about the Solar-talk
mailing list