]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libvaladoc: Improve error message on failing to load a driver
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Wed, 13 May 2015 16:35:00 +0000 (18:35 +0200)
committerFlorian Brosch <flo.brosch@gmail.com>
Sun, 10 Jan 2016 20:55:25 +0000 (21:55 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=711559

src/libvaladoc/moduleloader.vala

index 06e6fe1bf1e63bf1eccbfd8c24c25349575d1681..b7bcae6aa0a5e4699e8f728e9a90fe6fdfb3ca96 100644 (file)
@@ -174,7 +174,10 @@ public class Valadoc.ModuleLoader : Object {
                }
 
 
-               reporter.simple_error (null, "No suitable driver found.");
+               reporter.simple_error (null, "No suitable driver found for libvala version " +
+                                                          "%" + int64.FORMAT_MODIFIER + "d.%" + int64.FORMAT_MODIFIER + "d.%" + int64.FORMAT_MODIFIER + "d. " +
+                                      "Ensure the selected vala version was installed while building valadoc or use --driver to select another one.",
+                                                          segment_a, segment_b, segment_c);
                return null;
        }