add lint ignore comment to catch
This commit is contained in:
parent
740905b902
commit
da80f8d789
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue