log strings passed as error