mirror of
https://github.com/appium/appium.git
synced 2026-02-20 10:20:05 -06:00
clearer activity error message
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user