change(tracker): remove log that crashes the app
This commit is contained in:
parent
9afc95d894
commit
0a4cc57603
1 changed files with 2 additions and 2 deletions
|
|
@ -187,7 +187,7 @@ export default class App {
|
|||
|
||||
private _debug(context: string, e: any) {
|
||||
if (this.options.__debug_report_edp !== null) {
|
||||
fetch(this.options.__debug_report_edp, {
|
||||
void fetch(this.options.__debug_report_edp, {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify({
|
||||
|
|
@ -201,7 +201,7 @@ export default class App {
|
|||
|
||||
send(message: Message, urgent = false): void {
|
||||
if (this.activityState === ActivityState.NotActive) {
|
||||
this.debug.log('SendiTrying to send when not active', message)
|
||||
// this.debug.log('SendiTrying to send when not active', message) <- crashing the app
|
||||
return
|
||||
}
|
||||
this.messages.push(message)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue