Fix typo

Error only triggered when custom logger is set in initializer.