1
0
Fork 0

Pass crashReporter instance to RustLog

master
Grisha Kruglov 2020-06-04 18:09:42 -07:00 committed by Grisha Kruglov
parent a28a2fb352
commit 8769d98e71
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ open class FenixApplication : LocaleAwareApplication() {
return GlobalScope.async(Dispatchers.IO) {
// ... but RustHttpConfig.setClient() and RustLog.enable() can be called later.
RustHttpConfig.setClient(lazy { components.core.client })
RustLog.enable()
RustLog.enable(components.analytics.crashReporter)
}
}