Skip to content

Commit 288d230

Browse files
committed
Improve error message
1 parent 995dfb6 commit 288d230

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/BlockCompressor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ int BlockCompressor::compress(uint64& outputSize)
192192
}
193193

194194
if (files.size() == 0) {
195-
cerr << "Cannot access input file '" << _inputName << "'" << endl;
195+
cerr << "Cannot find any file to compress" << endl;
196196
return Error::ERR_OPEN_FILE;
197197
}
198198

src/app/BlockDecompressor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ int BlockDecompressor::decompress(uint64& inputSize)
102102
}
103103

104104
if (files.size() == 0) {
105-
cerr << "Cannot access input file '" << _inputName << "'" << endl;
105+
cerr << "Cannot find any file to decompress" << endl;
106106
return Error::ERR_OPEN_FILE;
107107
}
108108

0 commit comments

Comments
 (0)