-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stop spamming logs when setting duplicate receiver #13560
Conversation
80b1450
to
f023169
Compare
f023169
to
4177e6d
Compare
@@ -94,7 +99,7 @@ func (d *dispatcher) SetReceiver(capabilityId string, donId string, rec remotety | |||
k := key{capabilityId, donId} | |||
_, ok := d.receivers[k] | |||
if ok { | |||
return fmt.Errorf("receiver already exists for capability %s and don %s", capabilityId, donId) | |||
return fmt.Errorf("%w: capability %s and don %s", ErrReceiverExists, capabilityId, donId) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I would expect the caller to wrap/log this error with the capability ID etc (as it is doing), so no need to wrap the error at this point.
* fix: bump sonarsource/sonarqube-scan-action to v2.3.0 * fix: increase memory for sonarscan action * fix: even more memory * fix: disable coverage redesign * Revert "fix: disable coverage redesign" This reverts commit 6155794. * fix: even more more memory
…ries (#13827) * [TT-1252] Make tools used in ci reusable for chainlink-integrations * Make fuzz reusable in other reops * Make the fuzz python arg for the root of the go project more readable as to its meaning
* use updated CTF * use tagged CTF * verify commit * fix compile error --------- Co-authored-by: Anirudh Warrier <[email protected]>
…chain writer (#13829) * evm: Use the transactionId as the idempotency key in the chainwriter * changeset: Add changeset tag --------- Co-authored-by: Silas Lenihan <[email protected]>
* Chain Reader Batch Call inital commit * Add batchCaller tests * Minor code improvement for ChainReader addDecoderDef and addEncoderDef * Use common types for Chain Reader BatchGetLatestValue * CR BatchGetLatestValue fixes and setup evm chain reader tester * Run lint, generate and update common ref * Add changeset * Update common ref, rename BatchGetLatestValue to BatchGetLatestValues * Import new common changes * Return an error if BatchGetLatestValues received an event in the req * Bump common * fix minor merge issues * Add common codec mock for batch_caller_test * Bump feeds * Bump Solana
* FunctionsCoordinator v1.3.1 * fix: add NPM token to fetch private repo * fix: use npm config set * revert * add auth credentials * add auth credentials * remove auth for npm --------- Co-authored-by: Pablo <[email protected]>
* add empty bal spec * add bal_spec_id * include ccip spec ids * remove orm changes * add changeset * add tag --------- Co-authored-by: Chris <[email protected]>
I see you added a changeset file but it does not contain a tag. Please edit the text include at least one of the following tags:
|
Quality Gate passedIssues Measures |
Ticket
Requires Dependencies
Resolves Dependencies