summaryrefslogtreecommitdiff
path: root/coverage/collector.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/collector.py')
-rw-r--r--coverage/collector.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/collector.py b/coverage/collector.py
index 22471504..2f8c1752 100644
--- a/coverage/collector.py
+++ b/coverage/collector.py
@@ -356,7 +356,7 @@ class Collector:
try:
fn(frame, event, arg, lineno=lineno)
except TypeError as ex:
- raise Exception("fullcoverage must be run with the C trace function.") from ex
+ raise RuntimeError("fullcoverage must be run with the C trace function.") from ex
# Install our installation tracer in threading, to jump-start other
# threads.