This should only log if `err` is truthy