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
Hi!!
I am using Timber on my app, and I use my own HttpLoggingInterceptor to get the logs from OkHttp library that I use it.
I have a request that returns from server with https status code 404, and after that I get this error on logs :
java.util.UnknownFormatConversionException: Conversion = ';' at java.util.Formatter$FormatSpecifier.conversion(Formatter.java:2781) at java.util.Formatter$FormatSpecifier.<init>(Formatter.java:2811) at java.util.Formatter$FormatSpecifierParser.<init>(Formatter.java:2624) at java.util.Formatter.parse(Formatter.java:2557) at java.util.Formatter.format(Formatter.java:2504) at java.util.Formatter.format(Formatter.java:2458) at java.lang.String.format(String.java:2770) at timber.log.Timber$Tree.formatMessage(Timber.java:539) at timber.log.Timber$Tree.prepareLog(Timber.java:525) at timber.log.Timber$Tree.d(Timber.java:405) at timber.log.Timber$1.d(Timber.java:243) at timber.log.Timber.d(Timber.java:38) at com.myapp.AndroidLogger.d(AndroidLogger.kt:51) at com.myapp.LoggingInterceptor.log(LoggingInterceptor.kt:7) at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:277) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:221) at okhttp3.RealCall.execute(RealCall.java:81)
I think it tries to print the response and it is a html content and from there comes this error. Can it be fixed somehow?
The text was updated successfully, but these errors were encountered:
How did you call the Timber method? Did you pass any args with the message in Timber? It might be related to formatting your message with args in String.format.
Hi!!
I am using Timber on my app, and I use my own HttpLoggingInterceptor to get the logs from OkHttp library that I use it.
I have a request that returns from server with https status code 404, and after that I get this error on logs :
java.util.UnknownFormatConversionException: Conversion = ';' at java.util.Formatter$FormatSpecifier.conversion(Formatter.java:2781) at java.util.Formatter$FormatSpecifier.<init>(Formatter.java:2811) at java.util.Formatter$FormatSpecifierParser.<init>(Formatter.java:2624) at java.util.Formatter.parse(Formatter.java:2557) at java.util.Formatter.format(Formatter.java:2504) at java.util.Formatter.format(Formatter.java:2458) at java.lang.String.format(String.java:2770) at timber.log.Timber$Tree.formatMessage(Timber.java:539) at timber.log.Timber$Tree.prepareLog(Timber.java:525) at timber.log.Timber$Tree.d(Timber.java:405) at timber.log.Timber$1.d(Timber.java:243) at timber.log.Timber.d(Timber.java:38) at com.myapp.AndroidLogger.d(AndroidLogger.kt:51) at com.myapp.LoggingInterceptor.log(LoggingInterceptor.kt:7) at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:277) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:221) at okhttp3.RealCall.execute(RealCall.java:81)
I think it tries to print the response and it is a html content and from there comes this error. Can it be fixed somehow?
The text was updated successfully, but these errors were encountered: