Replace error message in getDerivationCA

This commit is contained in:
Matthew Bauer 2020-06-19 15:19:09 -04:00
parent 0c9c1b8826
commit e8e1f5282f

View file

@ -126,7 +126,7 @@ std::optional<std::string> getDerivationCA(const BasicDerivation & drv)
else if (outputHashMode->second == "flat")
ingestionMethod = FileIngestionMethod::Flat;
else
throw Error("unknown ingestion method: '%s'", outputHashMode->second);
throw Error("unknown outputHashMode: '%s'", outputHashMode->second);
return makeFixedOutputCA(ingestionMethod, h);
}