Updated the logging to warn