Skip to content
Snippets Groups Projects
Commit ce6e3f2e authored by roadscape's avatar roadscape
Browse files

fix MicroForkException string format

parent 73fd5873
Branches
Tags
1 merge request!7fix MicroForkException string format
...@@ -39,7 +39,7 @@ class BlockQueue: ...@@ -39,7 +39,7 @@ class BlockQueue:
if self._queue: # if using max_size>0, fork might be in buffer only if self._queue: # if using max_size>0, fork might be in buffer only
buff = self.size() buff = self.size()
alert = "NOTIFYALERT " if buff < self._max_size else "" alert = "NOTIFYALERT " if buff < self._max_size else ""
raise MicroForkException("%squeue:%d %s" % (alert, fork, buff)) raise MicroForkException("%squeue:%d %s" % (alert, buff, fork))
raise ForkException("NOTIFYALERT fork " + fork) raise ForkException("NOTIFYALERT fork " + fork)
self._prev = next_hash self._prev = next_hash
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment