fix: small fox for uia request

This commit is contained in:
Sorunome 2021-10-26 15:39:54 +02:00
commit ccaca35e1e

View file

@ -118,7 +118,7 @@ class UiaRequestManager {
} }
} catch (e, s) { } catch (e, s) {
Logs().e('Error while background UIA', e, s); Logs().e('Error while background UIA', e, s);
return uiaRequest.cancel(e); return uiaRequest.cancel(e is Exception ? e : Exception(e));
} }
} }
} }