Fix error/test where log was failing due to passing it an arbitrary object instead of a string.