MCPcopy Create free account
hub / github.com/FastLED/FastLED / warn_no_catch

Method warn_no_catch

src/fl/task/scheduler.cpp.hpp:120–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120void Scheduler::warn_no_catch(int task_id, const fl::string& trace_label, const Error& error) {
121 if (!trace_label.empty()) {
122 FL_WARN(fl::string("[fl::task] Warning: no catch_() callback set for Task#") << task_id << " launched at " << trace_label << ". Error: " << error.message);
123 } else {
124 FL_WARN(fl::string("[fl/task] Warning: no catch_() callback set for Task#") << task_id << ". Error: " << error.message);
125 }
126}
127
128} // namespace task
129} // namespace fl

Callers

nothing calls this directly

Calls 2

stringClass · 0.50
emptyMethod · 0.45

Tested by

no test coverage detected