Report error when exception show up.