Skip to content

Commit

Permalink
App insights setup must come first.
Browse files Browse the repository at this point in the history
  • Loading branch information
roncli committed Jan 20, 2021
1 parent 57bf08a commit 6ac8f06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ process.on("unhandledRejection", (reason) => {
* Starts up the application.
*/
(async function startup() {
Log.log("Starting up...");

// Setup application insights.
appInsights.setup().setAutoCollectRequests(false);
appInsights.start();

Log.log("Starting up...");

// Set title.
if (process.platform === "win32") {
process.title = "Six Gaming";
Expand Down

0 comments on commit 6ac8f06

Please sign in to comment.