We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac870e7 commit 4c88f45Copy full SHA for 4c88f45
1 file changed
src/tests/IntegrationTests/Examples/GenerateVideo.SimplePrompt.cs
@@ -27,7 +27,7 @@ public async Task GenerateVideo_SimplePrompt()
27
{
28
AssertTransientAvailability(ex);
29
}
30
- catch (ApiException ex) when (ex.StatusCode is System.Net.HttpStatusCode.BadRequest)
+ catch (ApiException ex) when (ex.StatusCode is System.Net.HttpStatusCode.BadRequest or System.Net.HttpStatusCode.NotFound)
31
32
// VIDEO modality may not be supported in generateContent endpoint yet
33
Assert.Inconclusive("Video generation not supported: " + ex.Message[..Math.Min(ex.Message.Length, 200)]);
0 commit comments