Skip to content

Commit 90dc9cf

Browse files
committed
better handling of grpc unknown error code
1 parent a80ca4f commit 90dc9cf

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

react/opentp-client/src/common/grpcUtilities.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,6 @@ export function getGrpcErrorMessage( error : Error, prepend?: string) : string {
5656
case StatusCode.UNIMPLEMENTED:
5757
grpErrorCodeAsStr = "Unimplemented"
5858
break
59-
case StatusCode.UNKNOWN:
60-
grpErrorCodeAsStr = "Unknown"
61-
break
62-
6359
}
6460

6561
return prepend + grpErrorCodeAsStr

0 commit comments

Comments
 (0)