Pass crashReporter instance to RustLog

fennec/production
Grisha Kruglov 4 years ago committed by Grisha Kruglov
parent a28a2fb352
commit 8769d98e71

@ -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)
}
}

Loading…
Cancel
Save