Skip to content

Commit af2898b

Browse files
committed
Update binding.py
Changed error message
1 parent f3213b6 commit af2898b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

splunklib/binding.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,7 @@ def wrapper(self, *args, **kwargs):
295295
with _handle_auth_error("Autologin failed."):
296296
self.login()
297297
with _handle_auth_error(
298-
"Autologin succeeded, but there was an auth error on "
299-
"next request. Something is very wrong."):
298+
"Authentication Failed! If session token is used, it seems to have been expired."):
300299
return request_fun(self, *args, **kwargs)
301300
elif he.status == 401 and not self.autologin:
302301
raise AuthenticationError(

0 commit comments

Comments
 (0)