Skip to content

Commit

Permalink
Feature flag error (viamrobotics#2402)
Browse files Browse the repository at this point in the history
  • Loading branch information
kim-mishra authored May 24, 2023
1 parent 1cf01d1 commit c3d5235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/frontend/src/components/slam/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ const fetchFeatureFlags = (name: string): Promise<{[key: string]: boolean}> => {
* signifies that the feature flag is false
*/
if (error) {
if (error.code === grpc.Code.Unimplemented) {
if (error.code === grpc.Code.Unimplemented || error.code === grpc.Code.Unknown) {
resolve({});
return;
}
Expand Down

0 comments on commit c3d5235

Please sign in to comment.