fix date calc
[gitlive] / XObject.js
index 703bd67..8f1e30d 100644 (file)
@@ -197,11 +197,15 @@ XObject.prototype = {
            
         }
         if (!this.el && typeof(this.xtype) == 'object') {
+            
             XObject.log("obj?"  + XObject.keys(this.config).join(','));
             try {
                 this.el = new (this.xtype)(this.config);
             } catch(e) {
-                print(JSON.stringify(e, null,4));
+                print(JSON.stringify(e,null,4));
+                print(JSON.stringify(this.config,null,4));
+                print(e.stack);
+                
                  throw {
                     name: "ArgumentError", 
                     message :"Error creating object from xtype(object)"