Skip to content

Commit

Permalink
fix logging deprecation warning (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
jreadey authored Dec 11, 2024
1 parent 0106277 commit a4f0aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hsds/hsds_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def _enqueue_output(out, queue, loglevel):
logging.debug("_enqueue_output close()")
out.close()
except ValueError as ve:
logging.warn(f"_enqueue_output - ValueError (handle closed?): {ve}")
logging.warning(f"_enqueue_output - ValueError (handle closed?): {ve}")
except Exception as e:
logging.error(f"_enqueue_output - Unexpected exception {type(e)}: {e}")

Expand Down

0 comments on commit a4f0aca

Please sign in to comment.