Fix for erroring out when only warnings are present