Skip to content
Snippets Groups Projects
Commit 097cac30 authored by Jan Reher's avatar Jan Reher
Browse files

added debug messages

parent 6ff2941f
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,11 @@ int main()
proddb->queryCredentials();
DatabaseClientResponse response = proddb->checkConnectivityAndCredentials();
if (response != Successful ) return response;
if (response != Successful ) {
cerr << "Connection to database failed because of error " << response << endl;
return response;
}
cout << "Connection successful!" << endl;
return (-apdSerials.empty());
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment