Only log result if it's defined
v0.3.4