This commit is contained in:
Raul Ochoa 2015-09-23 13:05:35 +02:00
parent c8705a8022
commit 57284a9398

View File

@ -39,10 +39,9 @@ TablesExtentApi.prototype.getBounds = function (username, tableNames, callback)
};
function handleBoundsResult(err, rows, callback) {
if (err){
if (err) {
var msg = err.message ? err.message : err;
callback(new Error('could not fetch source tables: ' + msg));
return;
return callback(new Error('could not fetch source tables: ' + msg));
}
var result = null;
if (rows.length > 0) {