Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Returning different error depending on who sees it?

Quote Reply
Returning different error depending on who sees it?
I know in the setup you can setup debug to return a huge error message. How can it be set up so that only when I run the code and it pulls a plugin or something and crashes only I see the extended message, but if users surf on the web, they only see a 1 line, 'Site is Down'. Right now users see the whole system-sensitive paths, etc.. when the system crashes, not good at all.