Replace debugging trace with a proper WARN