Fix for not actually passing the error we were creating