Skip to content

Commit

Permalink
Updated Shared Memory version mismatch console error, added more info…
Browse files Browse the repository at this point in the history
… about versions.
  • Loading branch information
viper4gh committed Jan 31, 2022
1 parent 4a52b5a commit 24e11be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HttpMessageHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ void processSharedMemoryData(struct mg_connection *nc, const SharedMemory* share
if (sharedData->mVersion != SHARED_MEMORY_VERSION) {
// build conflict response
sendConflict(nc);
printf("Data version mismatch, please make sure that your pCARS version matches your CREST version\n");
printf("Data version mismatch, please make sure that your pCARS version matches your CREST version\n Expected: v%d, Current: v%d\n", SHARED_MEMORY_VERSION, sharedData->mVersion);
}else{
renderResponse(nc, sharedData, hm);
}
Expand Down

0 comments on commit 24e11be

Please sign in to comment.