diff options
| author | AAGaming <aagaming@riseup.net> | 2024-06-27 00:21:32 -0400 |
|---|---|---|
| committer | AAGaming <aagaming@riseup.net> | 2024-06-27 00:21:32 -0400 |
| commit | 0cfb41755a3cf5bc39cd65e45e02418c245fa793 (patch) | |
| tree | 9bab88d926fbcf218b10794161e4c4c411e691a8 /frontend/src/errorboundary-hook.tsx | |
| parent | 2f8b5df0077bae996c1e9c5fa571ebf538260597 (diff) | |
| download | decky-loader-0cfb41755a3cf5bc39cd65e45e02418c245fa793.tar.gz decky-loader-0cfb41755a3cf5bc39cd65e45e02418c245fa793.zip | |
lint
Diffstat (limited to 'frontend/src/errorboundary-hook.tsx')
| -rw-r--r-- | frontend/src/errorboundary-hook.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/frontend/src/errorboundary-hook.tsx b/frontend/src/errorboundary-hook.tsx index f7aadcbd..9a603460 100644 --- a/frontend/src/errorboundary-hook.tsx +++ b/frontend/src/errorboundary-hook.tsx @@ -56,7 +56,7 @@ class ErrorBoundaryHook extends Logger { shouldReport, skipAllReporting: this.doNotReportErrors || this.disableReportingTimer, }); - if (!shouldReport) this.temporarilyDisableReporting(); + if (!shouldReport) this.temporarilyDisableReporting(); // react#15069 workaround. this took 2 hours to figure out. if ( args[0]?.message?.[3]?.[0] && @@ -95,14 +95,14 @@ class ErrorBoundaryHook extends Logger { } public temporarilyDisableReporting() { - this.debug("Reporting disabled for 30s due to a non-steam error."); + this.debug('Reporting disabled for 30s due to a non-steam error.'); if (this.disableReportingTimer) { clearTimeout(this.disableReportingTimer); } this.disableReportingTimer = setTimeout(() => { - this.debug("Reporting re-enabled after 30s timeout."); + this.debug('Reporting re-enabled after 30s timeout.'); this.disableReportingTimer = 0; - }, 30000) + }, 30000); } deinit() { |
