h2oai / h2o-3

H2O is an Open Source, Distributed, Fast & Scalable Machine Learning Platform: Deep Learning, Gradient Boosting (GBM) & XGBoost, Random Forest, Generalized Linear Modeling (GLM with Elastic Net), K-Means, PCA, Generalized Additive Models (GAM), RuleFit, Support Vector Machine (SVM), Stacked Ensembles, Automatic Machine Learning (AutoML), etc.
http://h2o.ai
Apache License 2.0
6.86k stars 2k forks source link

MojoWriter silently ignore exceptions #11574

Open exalate-issue-sync[bot] opened 1 year ago

exalate-issue-sync[bot] commented 1 year ago

The method ModelMojoWriter#writeTo swallows exceptions :

{noformat} @Override public final void writeTo(OutputStream os) { ZipOutputStream zos = new ZipOutputStream(os); try { writeTo(zos); zos.close(); } catch (IOException e) { e.printStackTrace(); } } {noformat}

hasithjp commented 1 year ago

JIRA Issue Migration Info

Jira Issue: PUBDEV-4695 Assignee: New H2O Bugs Reporter: Michal Malohlava State: Open Fix Version: N/A Attachments: N/A Development PRs: N/A