1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-18 02:12:06 +01:00

Precise error message for IntegrityProtectedInputStream

This commit is contained in:
Paul Schaub 2022-11-24 21:34:25 +01:00
parent c72b3a4b8e
commit a495f2275c
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -53,7 +53,7 @@ public class IntegrityProtectedInputStream extends InputStream {
}
LOGGER.debug("Integrity Protection check passed");
} catch (PGPException e) {
throw new IOException("Failed to verify integrity protection", e);
throw new IOException("Data appears to not be integrity protected.", e);
}
}
}