Log a warning instead of raise an exception