Skip to content

Commit

Permalink
use as_report
Browse files Browse the repository at this point in the history
  • Loading branch information
lmatz committed Dec 27, 2024
1 parent 453d221 commit 031dcc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/src/binder/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ impl Binder {
// eval error
Some(Err(e)) => {
return Err(ErrorCode::ExprError(
format!("expects an integer or expression that can be evaluated to an integer after LIMIT,\nbut the evaluation of the expression returns error:{}", e
format!("expects an integer or expression that can be evaluated to an integer after LIMIT,\nbut the evaluation of the expression returns error:{}", e.as_report()
).into(),
).into())
}
Expand Down

0 comments on commit 031dcc2

Please sign in to comment.