Skip to content

Commit 8a5d26f

Browse files
Update collector.go
Co-authored-by: Nithin Puthenveettil <[email protected]>
1 parent f8b5daa commit 8a5d26f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: collector.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func GetCollector() (TracerLogger, error) {
7272
defer muc.Unlock()
7373

7474
if _, ok := c.(*Collector); !ok {
75-
return c, fmt.Errorf("collector is not initialized")
75+
return c, fmt.Errorf("Collector has not been initialised yet. Please use InitCollector first")
7676
}
7777

7878
return c, nil

0 commit comments

Comments
 (0)