about summary refs log tree commit diff
path: root/src/libstore/store-api.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-01-18T12·34+0100
committerEelco Dolstra <edolstra@gmail.com>2019-01-18T12·34+0100
commit7cc1a2593ebece4df28abc86c8b83f5d14dc23a0 (patch)
treec268c12c9a4ed076f480cf68247bb145201e03ec /src/libstore/store-api.cc
parentdf0343058600e3fd20f4896fe16ab29954adf872 (diff)
unsupported(): Show the name of the unsupported operation
Diffstat (limited to 'src/libstore/store-api.cc')
-rw-r--r--src/libstore/store-api.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc
index dc54c735fdb1..913a1112141e 100644
--- a/src/libstore/store-api.cc
+++ b/src/libstore/store-api.cc
@@ -562,10 +562,10 @@ void Store::buildPaths(const PathSet & paths, BuildMode buildMode)
 {
     for (auto & path : paths)
         if (isDerivation(path))
-            unsupported();
+            unsupported("buildPaths");
 
     if (queryValidPaths(paths).size() != paths.size())
-        unsupported();
+        unsupported("buildPaths");
 }