Closed jantman closed 4 years ago
I'm not sure why, but the last TravisCI build rebuilt the previous commit, not the latest commit. I'm going to try closing and re-opening the PR, and seeing if that re-triggers Travis on the right commit.
Weird, but yeah, that did it.
Merging #45 into master will decrease coverage by
0.25%
. The diff coverage is9.09%
.
@@ Coverage Diff @@
## master #45 +/- ##
==========================================
- Coverage 57.84% 57.59% -0.26%
==========================================
Files 8 8
Lines 1376 1382 +6
Branches 258 260 +2
==========================================
Hits 796 796
- Misses 580 586 +6
Impacted Files | Coverage Δ | |
---|---|---|
manheim_c7n_tools/errorscan.py | 0.00% <0.00%> (ø) |
|
manheim_c7n_tools/version.py | 100.00% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update eaadfc0...945c427. Read the comment docs.
Description
This PR contains two changes:
errorscan
entrypoint/script to allow suppressing Lambda error log messages that match a specified regex. This is specifically needed for us in order to deal with some Splunk HEC annoyances.Testing Done
errorscan
does not have any unit tests. I ran errorscan against one of our problematic accounts locally and verified that without-n
specified the output is unchanged from the last release, but with-n
and an appropriate regex specified, the matching messages are no longer reported as errors.