File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ func init() {
31
31
32
32
// type check on axiom.Event incase it's ever not a map[string]interface{}
33
33
// so we can use unsafe.Pointer for a quick type conversion instead of allocating a new slice
34
- if reflect .TypeOf (axiom.Event {}).ConvertibleTo (reflect .TypeOf (map [string ]interface {}{})) == false {
34
+ if ! reflect .TypeOf (axiom.Event {}).ConvertibleTo (reflect .TypeOf (map [string ]interface {}{})) {
35
35
panic ("axiom.Event is not a map[string]interface{}, please contact support" )
36
36
}
37
37
}
@@ -110,7 +110,7 @@ func (m *Multiplexer) multiplex(req *http.Request) error {
110
110
if err != nil {
111
111
return err
112
112
}
113
- m .sendEvents (req .Context (), dataset , events ... )
113
+ return m .sendEvents (req .Context (), dataset , events ... )
114
114
}
115
115
return nil
116
116
}
You can’t perform that action at this time.
0 commit comments