Handle warning level

Handle WARN level messages so they don't cause an exception to be thrown.