handle body not being raw (case on staging)
handle log being already gone
add Build#delete_logs and Job#delete_log