tools/build_gtk_tree.js
authorAlan Knowles <alan@roojs.com>
Fri, 10 Aug 2012 10:47:06 +0000 (18:47 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 10 Aug 2012 10:47:06 +0000 (18:47 +0800)
tools/build_gtk_tree.js

index 2275f78..f549de1 100644 (file)
@@ -299,7 +299,7 @@ function BuildLists () {
             var x = new imports.gi[ns][cls]();
         } catch(e) {
             print("TRY ctor:  " + parent );
             var x = new imports.gi[ns][cls]();
         } catch(e) {
             print("TRY ctor:  " + parent );
-            print(e.toString());
+            print(JSON.stringify(e));
             return false;
         }
         
             return false;
         }