more improvements to promise rejection logging