Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async function bootstrap(): Promise {
try {
$log.debug("Start server...");
const server = await ServerLoader.bootstrap(Server);
await server.listen();
$log.debug("Server initialized");
Logger(); // hello, world
} catch (er) {
$log.error(er);
}
}
async function bootstrap(): Promise {
try {
$log.debug("Start server...");
const server = await ServerLoader.bootstrap(Server);
await server.listen();
$log.debug("Server initialized");
Logger(); // hello, world
} catch (er) {
$log.error(er);
}
}
async function bootstrap() {
try {
$log.debug("Start server...");
const server = await ServerLoader.bootstrap(Server);
await server.listen();
$log.debug("Server initialized");
} catch (er) {
$log.error(er);
}
}
async function bootstrap() {
try {
$log.debug("Start server...");
const server = await ServerLoader.bootstrap(Server);
await server.listen();
$log.debug("Server initialized");
Logger();
} catch (er) {
$log.error(er);
}
}
async function bootstrap() {
try {
$log.debug("Start server...");
const server = await ServerLoader.bootstrap(Server, {});
await server.listen();
$log.debug("Server initialized");
} catch (er) {
$log.error(er);
}
}
async function bootstrap() {
try {
$log.debug("Start server...");
const server = await ServerLoader.bootstrap(Server);
await server.listen();
$log.debug("Server initialized");
} catch (er) {
$log.error(er);
}
}
async function bootstrap() {
try {
$log.debug("Start server...");
const server = await ServerLoader.bootstrap(Server);
await server.listen();
$log.debug("Server initialized");
} catch (er) {
$log.error(er);
}
}
async function bootstrap() {
try {
$log.debug("Start server...");
const server = await ServerLoader.bootstrap(Server);
await server.listen();
$log.debug("Server initialized");
} catch (er) {
$log.error(er);
}
}
async function bootstrap() {
try {
$log.debug("Start server...");
const server = await ServerLoader.bootstrap(Server);
await server.listen();
$log.debug("Server initialized");
} catch (er) {
$log.error(er);
}
}
async function bootstrap() {
try {
$log.debug("Start server...");
const server = await ServerLoader.bootstrap(Server);
await server.listen();
$log.debug("Server initialized");
} catch (er) {
$log.error(er);
}
}