Browse Source

Use LogzioException when validating token

opensearch
nir0s 6 years ago
parent
commit
2de666e92c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      logzio/handler.py

+ 1
- 1
logzio/handler.py View File

@ -19,7 +19,7 @@ class LogzioHandler(logging.Handler):
debug=False):
if token is "":
raise Exception("Logz.io Token must be provided")
raise LogzioException("Logz.io Token must be provided")
self.logzio_type = logzio_type


Loading…
Cancel
Save