Skip to content

Commit

Permalink
Send instance ID to logging package even with a panic
Browse files Browse the repository at this point in the history
  • Loading branch information
myleshorton committed Oct 22, 2015
1 parent f078e68 commit 557759a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/github.com/getlantern/flashlight/flashlight.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func logPanic(msg string) {
panic("Error initializing logging")
}

<-logging.Configure("", "", "", version, revisionDate)
<-logging.Configure("", "", settings.GetInstanceID(), version, revisionDate)

log.Error(msg)

Expand Down

0 comments on commit 557759a

Please sign in to comment.