Start implementing a logger
This commit is contained in:
parent
da0f3da7e3
commit
7afe58c700
@ -77,7 +77,7 @@ func (env *Environemnt) isNsVerified(ctx context.Context) error {
|
|||||||
}
|
}
|
||||||
ns, err := clientset.CoreV1().Namespaces().Get(ctx, env.UserID, metav1.GetOptions{})
|
ns, err := clientset.CoreV1().Namespaces().Get(ctx, env.UserID, metav1.GetOptions{})
|
||||||
if err != nil {
|
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
|
return consts.ErrSystemError
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user