Skip to content

Commit e5905dd

Browse files
authored
call logging.warning instead of logging.warn (#214)
1 parent 4fb9c75 commit e5905dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rollbar/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ def init(access_token, environment='production', **kw):
290290
# New versions of pyrollbar will support re-initialization
291291
# via the (not-yet-implemented) configure() method.
292292
if not SETTINGS.get('suppress_reinit_warning'):
293-
log.warn('Rollbar already initialized. Ignoring re-init.')
293+
log.warning('Rollbar already initialized. Ignoring re-init.')
294294
return
295295

296296
SETTINGS['access_token'] = access_token

0 commit comments

Comments
 (0)