Skip to content

Commit

Permalink
Merge pull request #270 from mstallmo/helpful-error-message
Browse files Browse the repository at this point in the history
Add more helpful C++ error messages
  • Loading branch information
justadudewhohacks authored Apr 25, 2018
2 parents 5ab4fcb + 4d26eeb commit 3608d5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cc/CatchCvExceptionWorker.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ struct CatchCvExceptionWorker : public FF::SimpleWorker {
std::string execute() {
try {
return executeCatchCvExceptionWorker();
} catch (std::exception e) {
} catch (std::exception &e) {
return std::string(e.what());
}
}
Expand Down

0 comments on commit 3608d5a

Please sign in to comment.