Fixed error reporting in add app box

This commit is contained in:
Imran Remtulla
2022-11-10 10:29:00 -05:00
parent ee758e8470
commit c746e89052

View File

@@ -57,7 +57,9 @@ class _AddAppPageState extends State<AddAppPage> {
} catch (e) {
return e is String
? e
: 'Error';
: e is ObtainiumError
? e.toString()
: 'Error';
}
return null;
}