add more logging around a phase fail