summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/task_fail.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/task_fail.cpp b/lib/task_fail.cpp
index c30b668..720e2e1 100644
--- a/lib/task_fail.cpp
+++ b/lib/task_fail.cpp
@@ -35,7 +35,7 @@ void BlockActor::input_fail(const size_t i)
//check that the input is not already maxed
if (this->input_queues.is_front_maximal(i))
{
- throw std::runtime_error("input_fail called on maximum_items buffer");
+ throw std::runtime_error("input_fail called on maximum_items buffer in " + name);
}
//mark fail: not ready until a new buffer appears
@@ -50,7 +50,7 @@ void BlockActor::output_fail(const size_t i)
const size_t front_items = buff.length/this->output_configs[i].item_size;
if (front_items >= this->output_configs[i].maximum_items)
{
- throw std::runtime_error("output_fail called on maximum_items buffer");
+ throw std::runtime_error("output_fail called on maximum_items buffer in " + name);
}
//mark fail: not ready until a new buffer appears