Skip to content

Commit

Permalink
replace error logging with info logging
Browse files Browse the repository at this point in the history
version bump

version bump
  • Loading branch information
Kha Thai Le committed Jan 20, 2017
1 parent 7c3a09c commit 2b6684c
Show file tree
Hide file tree
Showing 4 changed files with 92 additions and 92 deletions.
4 changes: 2 additions & 2 deletions lib/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ var db = function (params, callback) {
logger.error('attempt to use db per app with no data storage enabled');
return callback(new Error("Data storage not enabled for this app. Please use the Data Browser window to enable data storage."));
} else {
logger.error('using net_db (DITCH)');
logger.info('using net_db (DITCH)');
return net_db(params, callback);
}
}
Expand Down Expand Up @@ -159,7 +159,7 @@ function net_db(params, callback) {
// Only export requests get streamed - the rest use the normal callback mehcanism
requestArgs.push(function (err, res, body) {
if (err) {
logger.warning('Problem contacting DITCH server: ' + err.message + "\n" + util.inspect(err.stack));
logger.error('Problem contacting DITCH server: ' + err.message + "\n" + util.inspect(err.stack));
return callback(err);
}
return callback(null, body);
Expand Down
Loading

0 comments on commit 2b6684c

Please sign in to comment.