TS lib verbosity tweaks

This commit is contained in:
Thulinma 2018-05-08 15:28:56 +02:00
parent 94bb2aa0f1
commit 252ea006a9
2 changed files with 4 additions and 2 deletions

View file

@ -72,7 +72,9 @@ namespace TS {
long long int bPos = data.tellg();
if(!data.read (strBuf,188))
{
HIGH_MSG("failed to read 188 bytes");
if (!data.eof()){
HIGH_MSG("failed to read 188 bytes: %s", strerror(errno));
}
return false;
}