Skip to content

Commit

Permalink
fix: logging
Browse files Browse the repository at this point in the history
Signed-off-by: Avik Basu <ab93@users.noreply.github.com>
  • Loading branch information
ab93 committed Aug 29, 2023
1 parent 6b62679 commit f4ff3ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions numalogic/udfs/postprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@ def compute(
try:
win_score = np.mean(y_score, axis=0)
score = postproc_clf.transform(win_score)
_LOGGER.debug(
"Time taken in postprocess compute: %.4f sec", time.perf_counter() - _start_time
)
except Exception as err:
raise RuntimeError("Postprocess failed") from err

Check warning on line 182 in numalogic/udfs/postprocess.py

View check run for this annotation

Codecov / codecov/patch

numalogic/udfs/postprocess.py#L181-L182

Added lines #L181 - L182 were not covered by tests
_LOGGER.debug(
"Time taken in postprocess compute: %.4f sec", time.perf_counter() - _start_time
)
return score

0 comments on commit f4ff3ac

Please sign in to comment.