Explorar o código

Add conflicting Signed-By values to error message

This hopefully makes debugging things easier.
Julian Andres Klode %!s(int64=10) %!d(string=hai) anos
pai
achega
a9fd02dec5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      apt-pkg/deb/debmetaindex.cc

+ 1 - 1
apt-pkg/deb/debmetaindex.cc

@@ -692,7 +692,7 @@ bool debReleaseIndex::SetSignedBy(std::string const &pSignedBy)
       }
    }
    else if (SignedBy != pSignedBy)
-      return _error->Error(_("Conflicting values set for option %s regarding source %s %s"), "Signed-By", URI.c_str(), Dist.c_str());
+      return _error->Error(_("Conflicting values set for option %s regarding source %s %s: %s != %s"), "Signed-By", URI.c_str(), Dist.c_str(), SignedBy.c_str(), pSignedBy.c_str());
    return true;
 }
 									/*}}}*/