We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9bc7b7 commit e099627Copy full SHA for e099627
common.go
@@ -32,7 +32,7 @@ func UUID() string {
32
// Setup seed & counter once
33
uuidSetup.Do(func() {
34
if _, err := rand.Read(uuidSeed[:]); err != nil {
35
- panic(fmt.Sprintf("utils: failed to seed UUID generator: %v", err))
+ panic(fmt.Errorf("utils: failed to seed UUID generator: %v", err))
36
}
37
uuidCounter = binary.LittleEndian.Uint64(uuidSeed[:8])
38
})
0 commit comments