diff --git a/src/Serval.Client/Client.g.cs b/src/Serval.Client/Client.g.cs index 430a6d40..4493fa95 100644 --- a/src/Serval.Client/Client.g.cs +++ b/src/Serval.Client/Client.g.cs @@ -3009,7 +3009,7 @@ public string BaseUrl if (status_ == 409) { string responseText_ = ( response_.Content == null ) ? string.Empty : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new ServalApiException("There is already an active/pending build", status_, responseText_, headers_, null); + throw new ServalApiException("There is already an active or pending build or a build in the process of being canceled", status_, responseText_, headers_, null); } else if (status_ == 503) diff --git a/src/Serval.Translation/Controllers/TranslationEnginesController.cs b/src/Serval.Translation/Controllers/TranslationEnginesController.cs index 04c6c8e8..b0dfdd17 100644 --- a/src/Serval.Translation/Controllers/TranslationEnginesController.cs +++ b/src/Serval.Translation/Controllers/TranslationEnginesController.cs @@ -784,7 +784,7 @@ CancellationToken cancellationToken /// The client is not authenticated /// The authenticated client does not own the translation engine /// The engine does not exist - /// There is already an active/pending build + /// There is already an active or pending build or a build in the process of being canceled /// A necessary service is currently unavailable. Check `/health` for more details. [Authorize(Scopes.UpdateTranslationEngines)] [HttpPost("{id}/builds")]