clearer activity error message

This commit is contained in:
Jonathan Lipps
2014-05-12 10:44:03 +01:00
parent e121810087
commit 802ab048b6

View File

@@ -1100,8 +1100,8 @@ ADB.prototype.startApp = function (pkg, activity, waitPkg, waitActivity, retry,
retry = false;
return this.startApp(pkg, activity, waitPkg, waitActivity, retry, stopApp, cb);
} else {
var msg = "Activity used to start app doesn't exist! Make sure " +
"it exists";
var msg = "Activity used to start app doesn't exist or cannot be " +
"launched! Make sure it exists and is a launchable activity";
logger.error(msg);
return cb(new Error(msg));
}