exception output to error log