Start implementing a logger

This commit is contained in:
Nikolai Rodionov 2024-05-06 18:01:11 +02:00
parent da0f3da7e3
commit 7afe58c700
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD

View File

@ -77,7 +77,7 @@ func (env *Environemnt) isNsVerified(ctx context.Context) error {
}
ns, err := clientset.CoreV1().Namespaces().Get(ctx, env.UserID, metav1.GetOptions{})
if err != nil {
log.Error("Couldn't get a user's namespace")
log.Error(err, "Couldn't get a user's namespace")
return consts.ErrSystemError
}