Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
beem
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
beem
Commits
12b4bcee
Commit
12b4bcee
authored
4 years ago
by
Holger
Browse files
Options
Downloads
Patches
Plain Diff
Add Server error to _check_error_message
parent
3e50455c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!5
Taken current version of master branch in the https://github.com/holgern/beem
,
!4
Original changes pushed to master at https://github.com/holgern/beem
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.rst
+1
-0
1 addition, 0 deletions
CHANGELOG.rst
beemapi/noderpc.py
+3
-0
3 additions, 0 deletions
beemapi/noderpc.py
with
4 additions
and
0 deletions
CHANGELOG.rst
+
1
−
0
View file @
12b4bcee
...
@@ -7,6 +7,7 @@ Changelog
...
@@ -7,6 +7,7 @@ Changelog
* Prepare for sbd/steem replacement by hbd/hive
* Prepare for sbd/steem replacement by hbd/hive
* Add unit test for beem.memo
* Add unit test for beem.memo
* Use reputation api
* Use reputation api
* Add Server error to _check_error_message
0.24.2
0.24.2
------
------
...
...
This diff is collapsed.
Click to expand it.
beemapi/noderpc.py
+
3
−
0
View file @
12b4bcee
...
@@ -152,6 +152,9 @@ class NodeRPC(GrapheneRPC):
...
@@ -152,6 +152,9 @@ class NodeRPC(GrapheneRPC):
elif
re
.
search
(
"
!check_max_block_age
"
,
str
(
e
)):
elif
re
.
search
(
"
!check_max_block_age
"
,
str
(
e
)):
self
.
_switch_to_next_node
(
str
(
e
))
self
.
_switch_to_next_node
(
str
(
e
))
doRetry
=
True
doRetry
=
True
elif
re
.
search
(
"
Server error
"
,
str
(
e
)):
self
.
_switch_to_next_node
(
str
(
e
))
doRetry
=
True
elif
re
.
search
(
"
Can only vote once every 3 seconds
"
,
msg
):
elif
re
.
search
(
"
Can only vote once every 3 seconds
"
,
msg
):
raise
exceptions
.
VotedBeforeWaitTimeReached
(
msg
)
raise
exceptions
.
VotedBeforeWaitTimeReached
(
msg
)
elif
re
.
search
(
"
out_of_rangeEEEE: unknown key
"
,
msg
)
or
re
.
search
(
"
unknown key:unknown key
"
,
msg
):
elif
re
.
search
(
"
out_of_rangeEEEE: unknown key
"
,
msg
)
or
re
.
search
(
"
unknown key:unknown key
"
,
msg
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment