Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Display more informative messages by not rethrowing an exception #4375
This PR makes debugging easier when the fillers are malformed.
Before this PR:
TestHelper.cpp(535) is not informative because it's a line that catches all errors.
After this PR:
vm.cpp(441), aha, it's a problem in "logs" field!
Both outputs are taken from
@@ Coverage Diff @@ ## develop #4375 +/- ## =========================================== + Coverage 68.27% 68.28% +0.01% =========================================== Files 304 304 Lines 23212 23221 +9 =========================================== + Hits 15848 15857 +9 Misses 7364 7364
you said you wanted more precise error information that shows the line of the error exception.
does not contain the name of the test case. That's what I meant.
I don't have control over this printed message. I cannot use TestOutputHelper to improve this message, I think.