AnsweredAssumed Answered

Output DB Errors to StdOut?

Question asked by Jeff C on Apr 20, 2016

I've got some command line PHP utilities I wrote that use the Sugar functions for DB access.  However, I'm tired of looking in the log file every time a SQL Query errors out. 

 

I would I make the error output generated from $db->query ouput to stdout so I can see it in the console when I run the script?

Outcomes