From 74f765382b685f070c46b3d034f885f5fe91b59e Mon Sep 17 00:00:00 2001 From: Antonio Cheong Date: Mon, 31 Jul 2023 13:09:24 +0800 Subject: [PATCH] panic --- tools/authenticator/main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/authenticator/main.go b/tools/authenticator/main.go index fce749d..0fc081f 100644 --- a/tools/authenticator/main.go +++ b/tools/authenticator/main.go @@ -127,8 +127,7 @@ func main() { println("Details: " + err.Details) println("Embedded error: " + err.Error.Error()) // Sleep for 10 seconds - time.Sleep(10 * time.Second) - continue + panic(err) } access_token := authenticator.GetAccessToken() // Append access token to access_tokens.txt