Improve unfurler client-side error handling

This commit is contained in:
Mononaut committed 2022-08-12 16:49:43 +00:00
1 parent 610915ca3b
commit b66a44eee3
4 files changed
+30 -13

No files matched your search

@@ -73,7 +73,7 @@ export class AddressPreviewComponent implements OnInit, OnDestroy {
this.isLoadingAddress = false;
this.error = err;
console.log(err);
this.openGraphService.waitOver('address-data');
this.openGraphService.fail('address-data');
return of(null);
})
);
@@ -99,7 +99,7 @@ export class AddressPreviewComponent implements OnInit, OnDestroy {
console.log(error);
this.error = error;
this.isLoadingAddress = false;
this.openGraphService.waitOver('address-data');
this.openGraphService.fail('address-data');
}
);
}