mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 21:08:10 -05:00
Enforce log.WithError(err) static analysis and fix all violations (#11163)
* Use log.WithError static analysis from #11143 and fix all violations * Fix another log violation after pulling from develop * Update beacon-chain/sync/pending_blocks_queue.go Co-authored-by: Potuz <potuz@prysmaticlabs.com> * @potuz feedback * Copy paste fail * fix tests Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> Co-authored-by: Potuz <potuz@prysmaticlabs.com>
This commit is contained in:
@@ -92,6 +92,11 @@
|
||||
".*/.*_test\\.go": "Tests are OK to ignore this check for"
|
||||
}
|
||||
},
|
||||
"logruswitherror": {
|
||||
"exclude_files": {
|
||||
"external/.*": "Third party code"
|
||||
}
|
||||
},
|
||||
"cryptorand": {
|
||||
"only_files": {
|
||||
"beacon-chain/.*": "",
|
||||
|
||||
Reference in New Issue
Block a user