Refining TempoDB error logging as it gave undefined.