relay/src/index.ts

12 lines
244 B
TypeScript
Raw Normal View History

2022-07-19 22:31:15 +00:00
import { start as startRpc } from "./rpc.js";
import { start as startRelay } from "./relay.js";
2022-06-27 17:53:00 +00:00
await startRpc();
await startRelay();
2022-06-27 17:53:00 +00:00
process.on("uncaughtException", function (err) {
2022-07-19 22:31:15 +00:00
console.log("Caught exception: " + err);
2022-06-27 17:53:00 +00:00
});
export {};