Update Hermes exceptions handling.