[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [php-weathermap] Best method to silence Errors?



On 10/06/2010 16:14, Patrick wrote:
Hey all,
I've gotten weathermap running along happily, but due to an error retrieving data last night, weathermap had a bit of a hissy fit and threw a ton of errors until the issue was resolved.

The issue was detected via another method and the error messages didn't provide any insight into the issue.

Is there a config option/parameter to make it run in silent mode and suppress any messages?

The obvious answer is to fix the error :-)

Well, if it's in crontab, add
 2>&1 > /dev/null
to the end of the line. But then you'll never know you have a problem.

What kind of errors though? I'm always keen to improve error messages...

Howie

Copyright 1994-2005, by Howard Jones. howie@thingy.com