Skip to content

Commit

Permalink
bump stacklevel
Browse files Browse the repository at this point in the history
  • Loading branch information
aMahanna committed Nov 22, 2023
1 parent 3238afb commit dd7383a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arango/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ def read_log(
:raise arango.exceptions.ServerReadLogError: If read fails.
"""
m = "read_log() is deprecated in ArangoDB 3.8 and will be removed in a future version of the driver. Use read_log_entries() instead." # noqa: E501
warn(m, DeprecationWarning, stacklevel=1)
warn(m, DeprecationWarning, stacklevel=2)

params = dict()
if upto is not None:
Expand Down

0 comments on commit dd7383a

Please sign in to comment.