[tor-commits] [meek/webextension] Better error message.

dcf at torproject.org dcf at torproject.org
Sat Mar 30 19:36:57 UTC 2019


commit 1a8e2c3b9bf72c618f9ab3af0a905060795a5dc0
Author: David Fifield <david at bamsoftware.com>
Date:   Sat Mar 30 12:05:02 2019 -0600

    Better error message.
---
 webextension/native/main.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/webextension/native/main.go b/webextension/native/main.go
index 01053a9..2a62e04 100644
--- a/webextension/native/main.go
+++ b/webextension/native/main.go
@@ -223,7 +223,7 @@ func roundTrip(req requestSpec, outToBrowserChan chan<- []byte) (responseSpec, e
 		requestResponseMapLock.Lock()
 		delete(requestResponseMap, id)
 		requestResponseMapLock.Unlock()
-		err = fmt.Errorf("timed out")
+		err = fmt.Errorf("timed out waiting for browser to reply")
 	}
 	return resp, err
 }





More information about the tor-commits mailing list