Improved error message

This commit is contained in:
M66B
2025-03-22 08:26:05 +01:00
parent 4dd28b0ba1
commit 525a474ae0

View File

@@ -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;