Error handling in transfer funds PANIC: no callback registered to handle error bandwidth limit exceeded. Please wait to transact or power up STEEM.
Summary
When you are using utopian heavily and quickly, you can use up all your steem. The steem system has a C++ backend that throws messages to the front end and then a javascript front end that tries to interpret the error message. Not all the back end error messages are interpreted and some times you get a strange message that you can only see in the console. In this case, when you try and transfer your rewards when you are out of bandwidth you get a very strange error message that is only visible in the javascript console.
How to reproduce
- Use up all your steem power / bandwidth by performing many actions such as blogging and voting.
- When your bandwidth is zero, attempt to transfer a reward to your balance.
- You will get a confusing error message.
Bug Capture
So in this that I captured case, I get the error in the console :
PANIC: no callback registered to handle error h4ck3rm1k3st33m bandwidth limit exceeded. Please wait to transact or power up STEEM.
If you google that error message you can find this post here
Similar suggestions
A user reported a similar bug different suggestion here
https://github.com/steemit/condenser/issues/2272
He is suggesting a feedback to a user that would prevent this error from occuring.
This is a bug on the code where it does not handle a error message and fails.
This specific error in the code that needs to be handled, even if the user is warned he still might encounter this bug.
Log
Here is the log from my javascript console
wait to transact or power up STEEM.app.d0f3eb4cce79a5f58ebb.js:1 i {cause: Error: 4100000 plugin_exception: plugin exception
Account: h4ck3rm1k3st33m bandwidth limit exceeded.…, isOperational: true, code: 1, data: Object, name: "RPCError"…}
(anonymous) @ app.d0f3eb4cce79a5f58ebb.js:1
o @ vendor.d0f3eb4cce79a5f58ebb.js:1
i @ vendor.d0f3eb4cce79a5f58ebb.js:1
o._settlePromise @ vendor.d0f3eb4cce79a5f58ebb.js:1
o._settlePromise0 @ vendor.d0f3eb4cce79a5f58ebb.js:1
o._settlePromises @ vendor.d0f3eb4cce79a5f58ebb.js:1
(anonymous) @ vendor.d0f3eb4cce79a5f58ebb.js:1
app.d0f3eb4cce79a5f58ebb.js:1 TransactionSaga broadcastPayload i {cause: Error: 4100000 plugin_exception: plugin exception
Account: h4ck3rm1k3st33m bandwidth limit exceeded.…, isOperational: true, code: 1, data: Object, name: "RPCError"…}
(anonymous) @ app.d0f3eb4cce79a5f58ebb.js:1
r @ app.d0f3eb4cce79a5f58ebb.js:1
(anonymous) @ app.d0f3eb4cce79a5f58ebb.js:1
e.(anonymous function) @ app.d0f3eb4cce79a5f58ebb.js:1
n @ app.d0f3eb4cce79a5f58ebb.js:1
n @ app.d0f3eb4cce79a5f58ebb.js:1
(anonymous) @ app.d0f3eb4cce79a5f58ebb.js:1
app.d0f3eb4cce79a5f58ebb.js:1 Uncaught (in promise) Error: PANIC: no callback registered to handle error h4ck3rm1k3st33m bandwidth limit exceeded. Please wait to transact or power up STEEM.
at app.d0f3eb4cce79a5f58ebb.js:1
at o (app.d0f3eb4cce79a5f58ebb.js:1)
at app.d0f3eb4cce79a5f58ebb.js:1
at app.d0f3eb4cce79a5f58ebb.js:1
at s (app.d0f3eb4cce79a5f58ebb.js:1)
at app.d0f3eb4cce79a5f58ebb.js:1
at dispatch (app.d0f3eb4cce79a5f58ebb.js:1)
at app.d0f3eb4cce79a5f58ebb.js:1
at app.d0f3eb4cce79a5f58ebb.js:1
(anonymous) @ app.d0f3eb4cce79a5f58ebb.js:1
o @ app.d0f3eb4cce79a5f58ebb.js:1
(anonymous) @ app.d0f3eb4cce79a5f58ebb.js:1
(anonymous) @ app.d0f3eb4cce79a5f58ebb.js:1
s @ app.d0f3eb4cce79a5f58ebb.js:1
(anonymous) @ app.d0f3eb4cce79a5f58ebb.js:1
dispatch @ app.d0f3eb4cce79a5f58ebb.js:1
(anonymous) @ app.d0f3eb4cce79a5f58ebb.js:1
(anonymous) @ app.d0f3eb4cce79a5f58ebb.js:1
Posted on Utopian.io - Rewarding Open Source Contributors
Hey @h4ck3rm1k3st33m I am @utopian-io. I have just upvoted you!
Achievements
Suggestions
Get Noticed!
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x
Your contribution cannot be approved yet. See the Utopian Rules. Please edit your contribution to reapply for approval.
Thanks for using utopian For now these are the changes
:)
You may edit your post here, as shown below:
You can contact us on Discord.
[utopian-moderator]
Thank you for the contribution. It has been approved.
Nice Work !! this is needed
You can contact us on Discord.
[utopian-moderator]