mirror of
https://github.com/appium/appium.git
synced 2026-05-08 03:49:30 -05:00
Fix string handling in grid register
This commit is contained in:
@@ -110,11 +110,12 @@ async function isAlreadyRegistered (jsonObject) {
|
||||
}
|
||||
let responseData = JSON.parse(response.body);
|
||||
if (responseData.success !== true) {
|
||||
logger.debug("[ERROR] " + responseData.msg); // if register fail,print the debug msg
|
||||
// if register fail, print the debug msg
|
||||
logger.debug(`Grid registration error: ${responseData.msg}`);
|
||||
}
|
||||
return responseData.success;
|
||||
} catch (err) {
|
||||
logger.debug("Hub down or not responding: ${err.message}");
|
||||
logger.debug(`Hub down or not responding: ${err.message}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user