fix: small fox for uia request

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

View file

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