Adding Fatal if cannot launch tor in app
This commit is contained in:
parent
8b64ba19fd
commit
90ff4bcba6
|
@ -179,6 +179,9 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
app, err = app2.NewApp(path.Join(usr.HomeDir, ".cwtch"), torPath)
|
app, err = app2.NewApp(path.Join(usr.HomeDir, ".cwtch"), torPath)
|
||||||
|
if err != nil {
|
||||||
|
log.Fatalf("Error initializing application: %v", err)
|
||||||
|
}
|
||||||
var history []string
|
var history []string
|
||||||
for !quit {
|
for !quit {
|
||||||
profile := "unset"
|
profile := "unset"
|
||||||
|
|
Loading…
Reference in New Issue