An unexpected layer now fails unless warnings are turned on or the layer is in the exception list