Skip to content

Commit

Permalink
print error
Browse files Browse the repository at this point in the history
  • Loading branch information
xqdoo00o committed Jun 28, 2024
1 parent 000c6c4 commit c4f8a42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func nightmare(c *gin.Context) {
if chat_require.Arkose.Required {
arkoseToken, err = arkose.GetOpenAIToken(4, secret.PUID, chat_require.Arkose.DX, proxy_url)
if err != nil {
println("Error getting Arkose token: ", err)
println("Error getting Arkose token: ", err.Error())
}
}
var turnstileToken string
Expand Down Expand Up @@ -165,7 +165,7 @@ func nightmare(c *gin.Context) {
if chat_require.Arkose.Required {
arkoseToken, err = arkose.GetOpenAIToken(4, secret.PUID, chat_require.Arkose.DX, proxy_url)
if err != nil {
println("Error getting Arkose token: ", err)
println("Error getting Arkose token: ", err.Error())
}
}
if chat_require.Turnstile.Required {
Expand Down Expand Up @@ -258,7 +258,7 @@ func tts(c *gin.Context) {
if chat_require.Arkose.Required {
arkoseToken, err = arkose.GetOpenAIToken(4, secret.PUID, chat_require.Arkose.DX, proxy_url)
if err != nil {
println("Error getting Arkose token: ", err)
println("Error getting Arkose token: ", err.Error())
}
}
var turnstileToken string
Expand Down

0 comments on commit c4f8a42

Please sign in to comment.