improved log message in line 42