]> git.tdb.fi Git - builder.git/blobdiff - source/tool.cpp
Add logging for some problem situations
[builder.git] / source / tool.cpp
index f3a29905b1651f12cc2c4dc92ef95f55e38b5a0d..496132f7a5266523e92777e0558aeb79b62b57cb 100644 (file)
@@ -64,7 +64,10 @@ void Tool::prepare()
        {
                executable = builder.get_vfs().find_binary(command);
                if(!executable)
+               {
+                       builder.get_logger().log("problems", format("Can't find executable %s for %s", command, tag));
                        problems.push_back(format("Can't find executable %s", command));
+               }
        }
 }