Flying over a hurricane in a properly equipped commercial aircraft and with ATC guidance (in addition to meteorologists) is not common but also not “ill-advised”. Can promise that the route was very well-advised on by professionals that do this on a daily basis (ie.: any type of weather potentially poses flight hazards). Case in point: look at Delta 431 that outraced Irma as it hit PR. That was legit a masterclass in routing around weather (and getting an aircraft quickly turned around for departure). .