horaedb
horaedb copied to clipboard
add macro to help write error message
#[snafu(display(
"Failed to build influxql plan with no cause, msg:{}.\nBacktrace:\n{}",
msg,
backtrace
))]
BuildPlanNoCause { msg: String, backtrace: Backtrace },
Add a display_backtrace macro to simplify error message, something like:
display_backtrace!("Failed to build influxql plan with no cause, msg:{}.", msg)
It will rewrite to line above.
Originally posted by @jiacai2050 in https://github.com/CeresDB/ceresdb/pull/745#discussion_r1138301614
Hi, is this issue available?if so, can I try on this?
Thanks, assigned.
@Apricity001 Any progress? It has been quiet for a while.
Sorry, I'm a little busy recently,I want to give up it.
Thanks for response, unassigned.
Not need any more, see #1513