add lint ignore comment to catch

This commit is contained in:
krawieck 2020-09-23 18:03:47 +02:00
parent 740905b902
commit da80f8d789
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ class AddInstancePage extends HookWidget {
icon.value =
(await LemmyApi(instanceController.text).v1.getSite()).site.icon;
isSite.value = true;
// ignore: avoid_catches_without_on_clauses
} catch (e) {
isSite.value = false;
}