From f6c2e7fd1ea353fee2dfbf96dbea2ba66b70dd02 Mon Sep 17 00:00:00 2001 From: Jakob Erdmann Date: Thu, 29 Aug 2024 11:09:27 +0200 Subject: [PATCH] added warning on cancellation. refs #10447 --- src/microsim/devices/MSDevice_Taxi.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/microsim/devices/MSDevice_Taxi.cpp b/src/microsim/devices/MSDevice_Taxi.cpp index 0f21ca46cc35..e4c732eef426 100644 --- a/src/microsim/devices/MSDevice_Taxi.cpp +++ b/src/microsim/devices/MSDevice_Taxi.cpp @@ -552,6 +552,10 @@ MSDevice_Taxi::cancelCurrentCustomers() { //} } } + if (!customersToBeRemoved.empty()) { + WRITE_WARNINGF(TL("Taxi '%' aborts waiting for customers: % at time=%."), + myHolder.getID(), toString(customersToBeRemoved), time2string(SIMSTEP)); + } for (auto t : customersToBeRemoved) { cancelCustomer(t); }