← Back to team overview

zeitgeist team mailing list archive

[Branch ~zeitgeist/zeitgeist/bluebird] Rev 208: Add more info into the error message

 

------------------------------------------------------------
revno: 208
committer: Michal Hruby <michal.mhr@xxxxxxxxx>
branch nick: bluebird
timestamp: Wed 2011-08-31 14:15:31 +0200
message:
  Add more info into the error message
modified:
  src/extension.vala


--
lp:~zeitgeist/zeitgeist/bluebird
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird

Your team Zeitgeist Framework Team is subscribed to branch lp:~zeitgeist/zeitgeist/bluebird.
To unsubscribe from this branch go to https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'src/extension.vala'
--- src/extension.vala	2011-08-24 20:06:27 +0000
+++ src/extension.vala	2011-08-31 12:15:31 +0000
@@ -200,9 +200,10 @@
 
                 if (extension_type.is_a (typeof (Extension)) == false)
                 {
+                    warning ("Type \"%s\" implemented by [%p] does not " +
+                        "subclass Zeitgeist.Extension!",
+                        extension_type.name (), this.reg_func);
                     extension_type = Type.INVALID;
-                    warning ("Type implemented by \"%p\" does not subclass " +
-                        "Zeitgeist.Extension!", this.reg_func);
                     return false;
                 }