fix: crash on comments api connection failure
This commit is contained in:
parent
6c14a2eccf
commit
4628282715
2 changed files with 8 additions and 2 deletions
|
@ -34,8 +34,8 @@ class NetworkHelper(
|
|||
maxSize = 5L * 1024 * 1024, // 5 MiB
|
||||
),
|
||||
)
|
||||
.addInterceptor(BrotliInterceptor)
|
||||
.addInterceptor(UncaughtExceptionInterceptor())
|
||||
.addInterceptor(BrotliInterceptor)
|
||||
.addInterceptor(UserAgentInterceptor(::defaultUserAgentProvider))
|
||||
|
||||
if (PrefManager.getVal(PrefName.VerboseLogging)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue