Fix error reporting for logs with no headers