From a8b489624da406b3c4a447fef2f5c6e6634a8761 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 5 Dec 2019 16:27:00 -0800 Subject: [PATCH] fix error messages --- src/apptask.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apptask.js b/src/apptask.js index 721fc1611..b86a106ee 100644 --- a/src/apptask.js +++ b/src/apptask.js @@ -724,7 +724,7 @@ function changeLocation(app, args, progressCallback, callback) { updateApp.bind(null, app, { installationState: apps.ISTATE_INSTALLED, error: null, health: null }) ], function seriesDone(error) { if (error) { - debugApp(app, 'error reconfiguring : %s', error); + debugApp(app, 'error changing location : %s', error); return updateApp(app, { installationState: apps.ISTATE_ERROR, error: makeTaskError(error, app) }, callback.bind(null, error)); } callback(null); @@ -769,7 +769,7 @@ function migrateDataDir(app, args, progressCallback, callback) { updateApp.bind(null, app, { installationState: apps.ISTATE_INSTALLED, error: null, health: null, dataDir: newDataDir }) ], function seriesDone(error) { if (error) { - debugApp(app, 'error reconfiguring : %s', error); + debugApp(app, 'error migrating data dir : %s', error); return updateApp(app, { installationState: apps.ISTATE_ERROR, error: makeTaskError(error, app) }, callback.bind(null, error)); } callback(null);