This is an automated email from the ASF dual-hosted git repository. alsay pushed a commit to branch fix_exception_handling in repository https://gitbox.apache.org/repos/asf/datasketches-bigquery.git
commit fe0276577759000fa3fef1840f7e39eaa08faf6a Author: AlexanderSaydakov <[email protected]> AuthorDate: Thu Dec 5 17:22:29 2024 -0800 better exception handling --- theta/sqlx/theta_sketch_agg_int64_lgk_seed_p.sqlx | 1 + 1 file changed, 1 insertion(+) diff --git a/theta/sqlx/theta_sketch_agg_int64_lgk_seed_p.sqlx b/theta/sqlx/theta_sketch_agg_int64_lgk_seed_p.sqlx index 962c2b8..e53ee70 100644 --- a/theta/sqlx/theta_sketch_agg_int64_lgk_seed_p.sqlx +++ b/theta/sqlx/theta_sketch_agg_int64_lgk_seed_p.sqlx @@ -92,6 +92,7 @@ export function serialize(state) { } return state; } catch (e) { + if (e.message != null) throw e; throw new Error(Module.getExceptionMessage(e)); } finally { if (state.sketch != null) state.sketch.delete(); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
