Commit 5554ee7b authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 27226134
......@@ -98,7 +98,7 @@ async function addIPs(ip) {
}
async function checkIps() {
let ips = await aruba.getAllIps()
let ips = await aruba.getAllIps(dc)
for (let i = 0; i < ips.length; i++) {
let status = await getWorkFloating(ips[i].Value)
......
......@@ -212,7 +212,8 @@ async function doRequest(url, body) {
return new Promise(function (resolve, reject) {
request(options, function (error, response, body) {
if (error) reject('Problem With Request Cherry Servers')
if (error) reject('Problem ->'+options.url)
try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment