Display a warning instead of logging a warning