You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: libraries/network/src/main/kotlin/io/element/android/libraries/network/interceptors/FormattedJsonHttpLogger.kt
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,11 @@ internal class FormattedJsonHttpLogger(
34
34
// It can be only the case if we log the bodies of Http requests.
35
35
if (level !=HttpLoggingInterceptor.Level.BODY) return
36
36
37
+
if (message.length >100_000) {
38
+
Timber.d("Content is too long (${message.length} chars) to be formatted as JSON")
0 commit comments