Log info about timeout in RegEx

This commit is contained in:
Sebastian Serth
2021-01-11 18:18:13 +01:00
parent 4d270d8fc8
commit b1f21509ae
2 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,7 @@ class PyUnitAdapter < TestingFrameworkAdapter
}.flatten || []
end
rescue Timeout::Error
Raven.capture_message({stderr: output[:stderr], regex: ASSERTION_ERROR_REGEXP}.to_json)
assertion_error_matches = []
end
{count: count, failed: failed + errors, error_messages: assertion_error_matches}