Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit 3608d5a

Browse files
Merge pull request justadudewhohacks#270 from mstallmo/helpful-error-message
Add more helpful C++ error messages
2 parents 5ab4fcb + 4d26eeb commit 3608d5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cc/CatchCvExceptionWorker.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ struct CatchCvExceptionWorker : public FF::SimpleWorker {
88
std::string execute() {
99
try {
1010
return executeCatchCvExceptionWorker();
11-
} catch (std::exception e) {
11+
} catch (std::exception &e) {
1212
return std::string(e.what());
1313
}
1414
}

0 commit comments

Comments
 (0)