var classes = require("./classes");
var gRex = require("./grex");

var grex = function(options, callback){
    try {
        if(typeof options === 'function'){
            callback = options;
            options = undefined;
        }
        var db = new gRex(options);
        connect = db.connect().then().nodeify(callback);
    } catch(error) {
        return callback(error);
        console.error(error);
    }

    return connect;
};

module.exports = {
    "connect": grex,
    "T": classes.T,
    "Contains": classes.Contains,
    "Vertex": classes.Vertex,
    "Edge": classes.Edge,
    "String": classes["String"],
    "Direction": classes.Direction,
    "Geoshape": classes.Geoshape,
    "TitanKey": classes.TitanKey,
    "TitanLabel": classes.TitanLabel
};

@@ -354,23 +354,21 @@
     
-return callback
+console.error
 (err
@@ -376,37 +376,39 @@
 r);%0A        
-console.error
+return callback
 (error);%0A   
@@ -610,18 +610,15 @@
 sses
-%5B%22
+.
 String
-%22%5D
 ,%0A  

Fix warnings in build task