Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

Commit

Permalink
[UNR-3064][MS] catching this exception and printing error.
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewSandfordImprobable committed Mar 10, 2020
1 parent 8625989 commit 8cb0f5b
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,12 @@ private static int CreateDeployment(string[] args)
$"Unable to launch the deployment(s). This is likely because the project '{projectName}' or assembly '{assemblyName}' doesn't exist.");
return 1;
}
else if (e.Status.StatusCode == Grpc.Core.StatusCode.ResourceExhausted)
{
Console.WriteLine(
$"Unable to launch the deployment(s). Cloud cluster resources exhausted, Detail: '{e.Status.Detail}'" );
return 1;
}
else
{
throw;
Expand Down

0 comments on commit 8cb0f5b

Please sign in to comment.