chore(auth): #331 add session test
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 44s
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 44s
This commit is contained in:
@@ -37,6 +37,7 @@ func (r *RandomImpl) Bytes(size int) ([]byte, error) {
|
||||
func (r *RandomImpl) String(size int) (string, error) {
|
||||
bytes, err := r.Bytes(size)
|
||||
if err != nil {
|
||||
log.Error("Error generating random string: %v", err)
|
||||
return "", types.ErrInternal
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user