spelling
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
ee47798714
commit
53d11dc45d
2
lib.go
2
lib.go
|
@ -89,7 +89,7 @@ func StartCwtch(appDir string, torPath string) {
|
||||||
acn, err := tor.NewTorACNWithAuth(path.Join(appDir, "/.tor"), torPath, controlPort, tor.HashedPasswordAuthenticator{Password: base64.StdEncoding.EncodeToString(key)})
|
acn, err := tor.NewTorACNWithAuth(path.Join(appDir, "/.tor"), torPath, controlPort, tor.HashedPasswordAuthenticator{Password: base64.StdEncoding.EncodeToString(key)})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Errorf("\nError connecting to Tor replacing with ErrorACN: %v\n", err)
|
log.Errorf("\nError connecting to Tor replacing with ErrorACN: %v\n", err)
|
||||||
// Replace the nil acn with a stab that will do nothing but report this error to the user...
|
// Replace the nil acn with a stub that will do nothing but report this error to the user...
|
||||||
acn = new(utils.ErrorACN)
|
acn = new(utils.ErrorACN)
|
||||||
}
|
}
|
||||||
globalACN = acn
|
globalACN = acn
|
||||||
|
|
Loading…
Reference in New Issue