less verbosity, fix symlink direction
This commit is contained in:
parent
f4265f76dd
commit
08ec98af77
@ -705,7 +705,6 @@ export class ExchangeService implements ExchangeServiceInterface {
|
|||||||
try {
|
try {
|
||||||
console.log("pinging exchange");
|
console.log("pinging exchange");
|
||||||
const resp = await axios.get(url);
|
const resp = await axios.get(url);
|
||||||
console.log(resp.data);
|
|
||||||
return;
|
return;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log("exchange not ready:", e.toString());
|
console.log("exchange not ready:", e.toString());
|
||||||
@ -836,7 +835,6 @@ export class MerchantService {
|
|||||||
try {
|
try {
|
||||||
console.log("pinging merchant");
|
console.log("pinging merchant");
|
||||||
const resp = await axios.get(url);
|
const resp = await axios.get(url);
|
||||||
console.log(resp.data);
|
|
||||||
return;
|
return;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log("merchant not ready", e.toString());
|
console.log("merchant not ready", e.toString());
|
||||||
@ -871,8 +869,9 @@ function updateCurrentSymlink(testDir: string): void {
|
|||||||
// Ignore
|
// Ignore
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
fs.symlinkSync(currLink, testDir);
|
fs.symlinkSync(testDir, currLink);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
console.log(e);
|
||||||
// Ignore
|
// Ignore
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user