Once we can capture warnings during the config stage, we can then get rid of this function Related to #2891