Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sakia
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
clients
python
sakia
Commits
bb53809f
Commit
bb53809f
authored
7 years ago
by
inso
Browse files
Options
Downloads
Patches
Plain Diff
Ignore ssl errors
parent
0ab41f8a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sakia/main.py
+2
-2
2 additions, 2 deletions
src/sakia/main.py
with
2 additions
and
2 deletions
src/sakia/main.py
+
2
−
2
View file @
bb53809f
...
@@ -68,13 +68,13 @@ def async_exception_handler(loop, context):
...
@@ -68,13 +68,13 @@ def async_exception_handler(loop, context):
logging
.
error
(
'
\n
'
.
join
(
log_lines
),
exc_info
=
exc_info
)
logging
.
error
(
'
\n
'
.
join
(
log_lines
),
exc_info
=
exc_info
)
for
line
in
log_lines
:
for
line
in
log_lines
:
for
ignored
in
(
"
Unclosed
"
,
"
socket.gaierror
"
,
"
[Errno 110]
"
):
for
ignored
in
(
"
feed_appdata
"
,
"
do_handshake
"
,
"
Unclosed
"
,
"
socket.gaierror
"
,
"
[Errno 110]
"
):
if
ignored
in
line
:
if
ignored
in
line
:
return
return
if
exc_info
:
if
exc_info
:
for
line
in
traceback
.
format_exception
(
*
exc_info
):
for
line
in
traceback
.
format_exception
(
*
exc_info
):
for
ignored
in
(
"
Unclosed
"
,
"
socket.gaierror
"
,
"
[Errno 110]
"
):
for
ignored
in
(
"
feed_appdata
"
,
"
do_handshake
"
,
"
Unclosed
"
,
"
socket.gaierror
"
,
"
[Errno 110]
"
):
if
ignored
in
line
:
if
ignored
in
line
:
return
return
exception_message
(
log_lines
,
exc_info
)
exception_message
(
log_lines
,
exc_info
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment