From b3a13412dd8d773c7d688596d1b58db036b88eed Mon Sep 17 00:00:00 2001 From: Chen-I Lim Date: Wed, 10 Feb 2021 11:11:12 -0800 Subject: [PATCH] Cleanup on eval error --- win/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win/main.go b/win/main.go index fd13dcc00..d4bf615fd 100644 --- a/win/main.go +++ b/win/main.go @@ -78,7 +78,7 @@ func main() { script := fmt.Sprintf("localStorage.setItem('sessionId', '%s');", sessionToken) value := ui.Eval(script) if err := value.Err(); err != nil { - log.Fatal(err) + log.Panic(err) } log.Printf("Started")