Changed back to using logger and removed fake error