[skip ci] todo
This commit is contained in:
1 parent
451669f4dd
commit
ee58858510
2 files changed
+8
-1
No files matched your search
@@ -564,7 +564,13 @@ class LoungeApi
|
|||||||
})
|
})
|
||||||
|
|
||||||
if not response.IsSuccess()
|
if not response.IsSuccess()
|
||||||
if response.StatusCode() = 410 or (response.StatusCode() = 400 and response.ErrorMessage().InStr("Unknown SID") <> -1)
|
isGone = response.StatusCode() = 410
|
||||||
|
unknownSid = response.StatusCode() = 400 and response.ErrorMessage().InStr("Unknown SID") <> -1
|
||||||
|
' TODO:P2 handle expired lounge id token
|
||||||
|
' expiredLoungeIdToken = response.StatusCode() = 401 and response.ErrorMessage().InStr("Expired lounge id token") <> -1
|
||||||
|
isKnownError = isGone or unknownSid
|
||||||
|
|
||||||
|
if isKnownError
|
||||||
LogErrorNoTelemetry(response.ErrorMessage())
|
LogErrorNoTelemetry(response.ErrorMessage())
|
||||||
else
|
else
|
||||||
LogError(response.ErrorMessage())
|
LogError(response.ErrorMessage())
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ namespace Sentry
|
|||||||
message += `\nEnd of attachments.`
|
message += `\nEnd of attachments.`
|
||||||
end if
|
end if
|
||||||
|
|
||||||
|
' TODO:P1 compress if message is larger than 8192
|
||||||
eventPayload.logentry = {
|
eventPayload.logentry = {
|
||||||
formatted: message
|
formatted: message
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user