FastLED 3.10.8
Loading...
Searching...
No Matches

◆ warn_no_catch()

void fl::task::Scheduler::warn_no_catch ( int task_id,
const fl::string & trace_label,
const Error & error )
private

Definition at line 200 of file scheduler.cpp.hpp.

200 {
201 FL_UNUSED(task_id); // only consumed by FL_WARN, a no-op on small platforms
202 FL_UNUSED(error);
203 if (!trace_label.empty()) {
204 FL_WARN("[fl::task] Warning: no catch_() callback set for Task#" << task_id << " launched at " << trace_label << ". Error: " << error.message);
205 } else {
206 FL_WARN("[fl/task] Warning: no catch_() callback set for Task#" << task_id << ". Error: " << error.message);
207 }
208}
bool empty() const FL_NO_EXCEPT
#define FL_UNUSED(x)
#define FL_WARN(...)
Definition log.h:437

References fl::FL_NO_EXCEPT, FL_UNUSED, and FL_WARN.

Referenced by fl::Singleton< Scheduler >.

+ Here is the caller graph for this function: