Skip to content
Snippets Groups Projects
Commit 701409dd authored by David Trattnig's avatar David Trattnig
Browse files

Add debug info

parent db848123
No related branches found
No related tags found
No related merge requests found
......@@ -24,13 +24,13 @@
#####################################
def clear_items(ns) =
ret = server.execute("#{source.id(ns)}.primary_queue")
ret = server.execute("#{source.id(ns)}.queue")
ret = list.hd(default="", ret)
if ret == "" then
log("Queue cleared.")
(-1.)
else
log("There are still items in the queue, trying skip ...")
log("There are still items in the queue '#{source.id(ns)}', skip RID #{ret} ...")
source.skip(ns)
(0.1)
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment