From b9d54d44048ba3e02dec147d7135eb4c03969836 Mon Sep 17 00:00:00 2001 From: kenstott <128912107+kenstott@users.noreply.github.com> Date: Fri, 11 Oct 2024 10:03:26 -0400 Subject: [PATCH] Made an addition to handle date constants in predicates. Generally, need to rethink date handling. --- calcite-rs-jni/jni/src/main/java/org/kenstott/CalciteQuery.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calcite-rs-jni/jni/src/main/java/org/kenstott/CalciteQuery.java b/calcite-rs-jni/jni/src/main/java/org/kenstott/CalciteQuery.java index 1fae021..b593359 100644 --- a/calcite-rs-jni/jni/src/main/java/org/kenstott/CalciteQuery.java +++ b/calcite-rs-jni/jni/src/main/java/org/kenstott/CalciteQuery.java @@ -505,7 +505,7 @@ public String queryModels(String query, String parentTraceId, String parentSpanI span.setStatus(StatusCode.OK); return result; } - } catch (Exception e) { + } catch (Throwable e) { span.setStatus(StatusCode.ERROR); span.setAttribute("Error", e.toString()); return "{\"error\":\"" + e + "\"}";