Skip to content

Commit

Permalink
Switch to Aborted --ECL
Browse files Browse the repository at this point in the history
  • Loading branch information
Enkidu93 committed Sep 11, 2023
1 parent 0ea15b6 commit fb552e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ protected async Task<TranslationEngine> GetBuiltEngineAsync(string engineId, Can
{
TranslationEngine engine = await GetEngineAsync(engineId, cancellationToken);
if (engine.BuildState != BuildState.None || engine.BuildRevision == 0) //TranslationEngine.Revision - I don't see it used anywhere
throw new RpcException(new Status(StatusCode.FailedPrecondition, "The engine must be built first"));
throw new RpcException(new Status(StatusCode.Aborted, "The engine must be built first"));
return engine;
}
}

0 comments on commit fb552e2

Please sign in to comment.