Improved error message

pull/217/head
M66B 6 months ago
parent 4dd28b0ba1
commit 525a474ae0

@ -734,7 +734,7 @@ public class EmailService implements AutoCloseable {
ex.getCause() instanceof ConnectException &&
ex.getCause().getCause() instanceof ErrnoException &&
((ErrnoException) ex.getCause().getCause()).errno == OsConstants.EACCES)
throw new SecurityException("Please check 'Restrict data usage' in the Android app settings", ex);
throw new SecurityException("EACCES Please check 'Restrict data usage' in the Android app settings", ex);
boolean ioError = false;
Throwable ce = ex;

Loading…
Cancel
Save