]> git.tdb.fi Git - builder.git/blobdiff - source/binarypackage.cpp
Store problems at their source rather than globally
[builder.git] / source / binarypackage.cpp
index 22a415457e75844e52e3c8675953e3e351c8338c..4c5382191661b7c627c0ef0e94db63fa34ab8ec9 100644 (file)
@@ -72,7 +72,8 @@ void BinaryPackage::do_prepare()
 
        if(base_path.empty())
        {
-               builder.problem(name, "Cannot locate files");
+               // TODO report which files were not found
+               problems.push_back("Cannot locate files");
                return;
        }