Cleanup on eval error
This commit is contained in:
parent
a10beb52a2
commit
b3a13412dd
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ func main() {
|
||||||
script := fmt.Sprintf("localStorage.setItem('sessionId', '%s');", sessionToken)
|
script := fmt.Sprintf("localStorage.setItem('sessionId', '%s');", sessionToken)
|
||||||
value := ui.Eval(script)
|
value := ui.Eval(script)
|
||||||
if err := value.Err(); err != nil {
|
if err := value.Err(); err != nil {
|
||||||
log.Fatal(err)
|
log.Panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Printf("Started")
|
log.Printf("Started")
|
||||||
|
|
Loading…
Reference in a new issue