-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed
Labels
kind: questionstate: needs more infothe author of the issue needs to provide more detailsthe author of the issue needs to provide more detailsstate: stalethe issue has not been updated in a while and will be closed automatically soon unless it is updatedthe issue has not been updated in a while and will be closed automatically soon unless it is updated
Description
I use try catch like below:
while(true) {
try {
jsonMsg = json::parse(msg);
}
catch(exception& e) {
ldout << "error message: " << e.what() << endl;
continue;
}
}
I expect the program continue to be executed and then processs next msg. but after print out the error message such as parse error. The program abort() or exit(), can anyone give some suggestion about this.
Metadata
Metadata
Assignees
Labels
kind: questionstate: needs more infothe author of the issue needs to provide more detailsthe author of the issue needs to provide more detailsstate: stalethe issue has not been updated in a while and will be closed automatically soon unless it is updatedthe issue has not been updated in a while and will be closed automatically soon unless it is updated