mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-12-22 19:08:00 +01:00
BC173: Fix CRC error detection by improving error check
This commit is contained in:
parent
46f7cfdb1a
commit
2587f19df3
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ public class TeeBCPGInputStream {
|
|||
last = inputStream.read();
|
||||
return last;
|
||||
} catch (IOException e) {
|
||||
if ("crc check failed in armored message.".equals(e.getMessage())) {
|
||||
if (e.getMessage().contains("crc check failed in armored message")) {
|
||||
throw e;
|
||||
}
|
||||
return -1;
|
||||
|
|
Loading…
Reference in a new issue