[gnome-maps/wip/osm-edit: 10/47] osmApi: Add back debug output of raw XML



commit a788a8045e167664e9147b87177a49f9e2818cc1
Author: Marcus Lundblad <marcus lundblad primekey se>
Date:   Fri Jan 30 12:37:39 2015 +0100

    osmApi: Add back debug output of raw XML
    
    There seems to be a bug on connection failures making the shim code crash.

 src/osmConnection.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/osmConnection.js b/src/osmConnection.js
index a34a25e..fbda662 100644
--- a/src/osmConnection.js
+++ b/src/osmConnection.js
@@ -51,6 +51,8 @@ const OSMConnection = new Lang.Class({
                 return;
             }
 
+            print ('data received: ' + message.response_body.data);
+
            let json = this._parseXML(type, message.response_body);
            let object = null;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]