Exceptions are now  written to the scripts log file.

When exceptions are thrown by civicrm they are written to
the scripts log file.