Should be warn() if you want the error reason printed.