Skip to content
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

feat: logging and rejecting invalid blueprint errors #536

Open
wants to merge 85 commits into
base: master
Choose a base branch
from

Conversation

andreabadesso
Copy link
Contributor

@andreabadesso andreabadesso commented Aug 21, 2024

Acceptance Criteria

  • We should handle the BluePrintNotFound error from the rpc-lib properly by rejecting the rpc request

Security Checklist

  • Make sure you do not include new dependencies in the project unless strictly necessary and do not include dev-dependencies as production ones. More dependencies increase the possibility of one of them being hijacked and affecting us.

feat: make ncAddress react to firstAddress change
Remarks:
The `marginVertical` and `marginHorizontal` are not being applied. Probably this is a bug in ReactNative.
@andreabadesso andreabadesso self-assigned this Aug 21, 2024
@andreabadesso andreabadesso added the enhancement New feature or request label Aug 21, 2024
@andreabadesso andreabadesso mentioned this pull request Aug 21, 2024
1 task
@@ -316,6 +318,13 @@ export function* onSessionRequest(action) {
} catch (e) {
let shouldAnswer = true;
switch (e.constructor) {
case BluePrintNotFoundError:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: I believe the name for this error will change to BlueprintNotFoundError, pointed in this comment.

@andreabadesso andreabadesso force-pushed the feat/rpc-lib-integration branch 2 times, most recently from b23f09c to 2a6ebf7 Compare August 31, 2024 21:09
Base automatically changed from feat/rpc-lib-integration to master September 3, 2024 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

3 participants