lets use Rackem's log_exception() method when dump_errors is enabled.