Use debug instead of console.error

This commit is contained in:
Girish Ramakrishnan
2020-10-30 11:07:24 -07:00
parent 9615dc1458
commit 2c9efea733
3 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ function scheduleTask(appId, taskId, callback) {
// post app task hooks
sftp.rebuild(function (error) {
if (error) console.error('Unable to rebuild sftp:', error);
if (error) debug('Unable to rebuild sftp:', error);
});
});
}