Handle warning level

Handle WARN level messages so they don't cause an exception to be thrown.
It looks like your IDE is using tabs for indentation instead of spaces.

Unfortunately, half of our projects use tabs and half use spaces. This one uses spaces.