rc = archive_read_open_FILE (a, fp);
if (rc != ARCHIVE_OK)
- throw archive_exception(a, "cannot open archive from pipe");
+ {
+ obatched(clog) << "cannot open archive from pipe " << b_source0 << endl;
+ throw archive_exception(a, "cannot open archive from pipe");
+ }
// archive traversal is in three stages, no, four stages:
// 1) skip entries whose names do not match the requested one
rc = archive_read_open_FILE (a, fp);
if (rc != ARCHIVE_OK)
- throw archive_exception(a, "cannot open archive from pipe");
+ {
+ obatched(clog) << "cannot open archive from pipe " << rps << endl;
+ throw archive_exception(a, "cannot open archive from pipe");
+ }
if (verbose > 3)
obatched(clog) << "libarchive scanning " << rps << endl;