job link
This commit is contained in:
parent
eef6bb2581
commit
362605702e
@ -14,7 +14,7 @@ export const privateKey = process.env.PRIVATE_KEY;
|
|||||||
export const instances = tornConfig.instances;
|
export const instances = tornConfig.instances;
|
||||||
export const torn = tornConfig;
|
export const torn = tornConfig;
|
||||||
export const port = process.env.APP_PORT || 8000;
|
export const port = process.env.APP_PORT || 8000;
|
||||||
export const host = process.env.VIRTUAL_HOST || `localhost:${port}`;
|
export const host = process.env.NODE_ENV === 'production' ? 'https://' + process.env.VIRTUAL_HOST : `http://localhost:${port}`;
|
||||||
export const tornadoServiceFee = Number(process.env.REGULAR_TORNADO_WITHDRAW_FEE);
|
export const tornadoServiceFee = Number(process.env.REGULAR_TORNADO_WITHDRAW_FEE);
|
||||||
export const rewardAccount = process.env.REWARD_ACCOUNT;
|
export const rewardAccount = process.env.REWARD_ACCOUNT;
|
||||||
export const governanceAddress = '0x5efda50f22d34F262c29268506C5Fa42cB56A1Ce';
|
export const governanceAddress = '0x5efda50f22d34F262c29268506C5Fa42cB56A1Ce';
|
||||||
|
@ -76,7 +76,7 @@ export class HealthService {
|
|||||||
await this.store.client.zadd('errors:log', 'INCR', 1, e.message);
|
await this.store.client.zadd('errors:log', 'INCR', 1, e.message);
|
||||||
|
|
||||||
if (e?.code === 'REVERTED') {
|
if (e?.code === 'REVERTED') {
|
||||||
const jobUrl = `https://${this.config.host}/v1/jobs/${jobId}`;
|
const jobUrl = `${this.config.host}/v1/jobs/${jobId}`;
|
||||||
await this.pushAlert({
|
await this.pushAlert({
|
||||||
message: `${e.message} \n ${jobUrl}`,
|
message: `${e.message} \n ${jobUrl}`,
|
||||||
type: 'REVERTED',
|
type: 'REVERTED',
|
||||||
|
Loading…
Reference in New Issue
Block a user