refactor: promises hard
serenity 1 month ago 69746844 1734d15d
··· 34 34 35 35 main() 36 36 .then(() => { 37 37 - console.log("Exited gracefully."); 37 37 + console.log(`Server is running on port ${SERVER_PORT.toString()}`); 38 38 }) 39 39 .catch((err: unknown) => { 40 40 console.error("Something went wrong :(");