fix: small fox for uia request

This commit is contained in:
Sorunome 2021-10-26 15:39:54 +02:00
parent 0e309fa9a7
commit 95e9d92791
No known key found for this signature in database
GPG Key ID: B19471D07FC9BE9C

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));
}
}
}