Skip to content

Commit c5ca4c3

Browse files
Improve error message
1 parent 6c267ec commit c5ca4c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/util/gpuserver.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ int gpuserver(int argc, const char **argv, const Command& command) {
3131

3232
const bool isGpuDb = DBReader<unsigned int>::getExtendedDbtype(dbr->getDbtype()) & Parameters::DBTYPE_EXTENDED_GPU;
3333
if (isGpuDb == false) {
34-
Debug(Debug::ERROR) << "Database " << FileUtil::baseName(par.db1) << " is not a valid GPU database\n";
34+
Debug(Debug::ERROR) << "Database " << FileUtil::baseName(par.db1) << " is not a valid GPU database\n"
35+
<< "Please call: makepaddedseqdb " << FileUtil::baseName(par.db2) << " " << FileUtil::baseName(par.db2) "_pad\n";
3536
EXIT(EXIT_FAILURE);
3637
}
3738

0 commit comments

Comments
 (0)