mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-18 04:52:18 +02:00
fix(esp-modem): Add filename/line info to exception message
This is useful if exceptions are enabled, but caught internally on C++ API boundary
This commit is contained in:
@ -33,7 +33,7 @@ struct uart_task {
|
||||
task_handle(nullptr)
|
||||
{
|
||||
BaseType_t ret = xTaskCreate(task_function, "uart_task", stack_size, task_param, priority, &task_handle);
|
||||
throw_if_false(ret == pdTRUE, "create uart event task failed");
|
||||
ESP_MODEM_THROW_IF_FALSE(ret == pdTRUE, "create uart event task failed");
|
||||
}
|
||||
|
||||
~uart_task()
|
||||
|
Reference in New Issue
Block a user