also log message Id when we fail to get endpoint name

so we can better debug what is wrong when messages fail

@indualagarsamy @gbiellem review please