Only warn for discarded message if  is true