Change message if warning is set.

Signed-off-by: Chabert Loic <chabert.loic.74@gmail.com>