You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by al...@apache.org on 2024/12/06 01:22:56 UTC
(datasketches-bigquery) branch fix_exception_handling created (now fe02765)
This is an automated email from the ASF dual-hosted git repository.
alsay pushed a change to branch fix_exception_handling
in repository https://gitbox.apache.org/repos/asf/datasketches-bigquery.git
at fe02765 better exception handling
This branch includes the following new commits:
new fe02765 better exception handling
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org
(datasketches-bigquery) 01/01: better exception handling
Posted by al...@apache.org.
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 <Al...@users.noreply.github.com>
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: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org