Skip to content

Commit 92c1d83

Browse files
committed
Fix issue with returning errors
1 parent 199bcd8 commit 92c1d83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mqmetric/mqif.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ func getMessageWithHObj(wait bool, hObj ibmmq.MQObject) ([]byte, error) {
209209
}
210210
}
211211

212-
return getBuffer[0:datalen], nil
212+
return getBuffer[0:datalen], err
213213
}
214214

215215
/*

0 commit comments

Comments
 (0)