tweak log format
Remove unnecessary block
Fix: error occured when exit_status is nil