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

Fix: specify the error message #3030

Merged
merged 3 commits into from
Jan 3, 2024
Merged

Fix: specify the error message #3030

merged 3 commits into from
Jan 3, 2024

Conversation

Jim8y
Copy link
Contributor

@Jim8y Jim8y commented Dec 15, 2023

this pr makes the error message of the argument of Storage Put more clear.

and it sorted a few modifiers without changing any function.

@shargon
Copy link
Member

shargon commented Dec 15, 2023

@Liaojinghui do you want to add more similar changes?

@Jim8y
Copy link
Contributor Author

Jim8y commented Dec 15, 2023

@Liaojinghui do you want to add more similar changes?

You can review these, i am not working to add more similar change for now. I am trying to print these exceptions in our development environment. When i debug, the contract just stops without saying what is wrong, i have to add vm sorce code to the reference to debug line by line to see what happened.

shargon
shargon previously approved these changes Dec 15, 2023
@Jim8y
Copy link
Contributor Author

Jim8y commented Jan 2, 2024

Good to go now. Though i believe there will definately be more places can be more specific, but i will focus on other issues now.

@shargon shargon merged commit 5c9699e into neo-project:master Jan 3, 2024
2 checks passed
@Jim8y Jim8y deleted the error-msg branch January 3, 2024 10:18
Jim8y added a commit to Jim8y/neo that referenced this pull request Jan 10, 2024
* master:
  Fixed asp.net core project (neo-project#3067)
  Updated BLS12_381 (neo-project#3074)
  avoid nonsense exception messages. (neo-project#3063)
  Removed `MyGet` (neo-project#3071)
  Updated unit-test (neo-project#3073)
  add hash verification for OnImport (neo-project#3070)
  Make public ReadUserInput (neo-project#3068)
  Removed asp.net core (neo-project#3065)
  Enforce Line Endings in `.editorconfig` (neo-project#3060)
  Remove some warnings (neo-project#3057)
  Fixed workflow  timeout-minutes (neo-project#3048)
  Fix: specify the error message (neo-project#3030)
  Removes `WebSocket`s from the network layer (neo-project#3039)
  set timeout for tests (neo-project#3046)
  Fix: Editconfig (neo-project#3023)
  Set project as nullable (neo-project#3042)
  Fix: fix equal (neo-project#3028)

# Conflicts:
#	src/Neo.CLI/CLI/MainService.cs
#	src/Neo.CLI/Settings.cs
#	src/Neo/ProtocolSettings.cs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants