aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/GlobalErrorStore.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/stores/GlobalErrorStore.ts')
-rw-r--r--src/stores/GlobalErrorStore.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stores/GlobalErrorStore.ts b/src/stores/GlobalErrorStore.ts
index be86563d0..8547fec72 100644
--- a/src/stores/GlobalErrorStore.ts
+++ b/src/stores/GlobalErrorStore.ts
@@ -86,7 +86,7 @@ export default class GlobalErrorStore extends TypedStore {
86 if (request.isError) { 86 if (request.isError) {
87 this.error = request.error; 87 this.error = request.error;
88 88
89 if (request.error && request.error.json) { 89 if (request.error?.json) {
90 try { 90 try {
91 this.response = await request.error.json(); 91 this.response = await request.error.json();
92 } catch { 92 } catch {