reports2: print error message instead of logfile pointer