No. The run can still complete. See the if token.nil/ Below, where we try to get a token from the API. I check token.nil? explicitly after all attempts to find a token and raise if it's still nil when we're ready to write the template.