]> git.e2factory.org Git - e2factory.git/commitdiff
git: include source name in error message
authorTobias Ulmer <tu@emlix.com>
Thu, 28 Feb 2019 18:34:15 +0000 (19:34 +0100)
committerTobias Ulmer <tu@emlix.com>
Thu, 28 Feb 2019 18:34:15 +0000 (19:34 +0100)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
plugins/git.lua

index d2abbf7cef20a9aa200dabeef4b77e05f59e7bf0..1f29de2498c6cd62d7b0a1dd88e376c63f6a86da 100644 (file)
@@ -202,7 +202,7 @@ function git.git_source:git_commit_id(sourceset, check_remote)
             end
         end
     else
-        return false, err.new("not an scm sourceset: %s", sourceset)
+        return false, e:cat("not an scm sourceset: %s", sourceset)
     end
 
     if not id then