flash process bar red when exception occurs