This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
opensearch-python-handler
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Use LogzioException when validating token
opensearch
nir0s
7 years ago
parent
27b212d2b7
commit
2de666e92c
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
Logzio
Exception
(
"
Logz.io Token must be provided
"
)
self
.
logzio_type
=
logzio_type
Write
Preview
Loading…
Cancel
Save