Unlike the protective role of IRE1α pathway in the early stages of infection, the PERK pathway plays an apoptotic role in the late stages. Here, ERN1 is linked to infection.