feat: publish sanitized custom.97 source
This commit is contained in:
1022 files changed
+69903
-19207
No files matched your search
@@ -71,7 +71,7 @@ func ProcessChannelError(c *gin.Context, channelError types.ChannelError, err *t
|
||||
if err == nil {
|
||||
return
|
||||
}
|
||||
logger.LogError(c, fmt.Sprintf("channel error (channel #%d, status code: %d): %s", channelError.ChannelId, err.StatusCode, common.LocalLogPreview(err.MaskSensitiveErrorWithStatusCode())))
|
||||
logger.LogError(c, common.LogText("channel error (channel #%d, status code: %d): %s", channelError.ChannelId, err.StatusCode, common.LocalLogPreview(err.MaskSensitiveErrorWithStatusCode())))
|
||||
if err.GetErrorCode() != relaycommon.ResponseGuardErrorCode && ShouldDisableChannel(err) && channelError.AutoBan {
|
||||
reason := err.MaskSensitiveErrorWithStatusCode()
|
||||
gopool.Go(func() {
|
||||
|
||||
Reference in new issue
Block a user