KhaninArtur commented on a change in pull request #16493:
URL: https://github.com/apache/beam/pull/16493#discussion_r783984978



##########
File path: playground/backend/cmd/server/server.go
##########
@@ -109,6 +119,18 @@ func setupCache(ctx context.Context, appEnv 
environment.ApplicationEnvs) (cache.
        }
 }
 
+// setupExamplesCatalog saves precompiled objects catalog from storage to cache
+func setupExamplesCatalog(ctx context.Context, cacheService cache.Cache) error 
{
+       sdkCategories, err := 
utils.GetPrecompiledObjectsCatalogFromStorage(ctx, pb.Sdk_SDK_UNSPECIFIED, "")
+       if err != nil {
+               return err

Review comment:
       There is no need because there will be a panic in the server and we will 
see the error in logs.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to