Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
kamaki
Commits
ecf0fc97
Commit
ecf0fc97
authored
Aug 01, 2013
by
Stavros Sachtouris
Browse files
Do not allow thread exceptions to stop errors
parent
a3c41714
Changes
1
Hide whitespace changes
Inline
Side-by-side
kamaki/clients/pithos/__init__.py
View file @
ecf0fc97
...
...
@@ -442,9 +442,13 @@ class PithosClient(PithosRestClient):
else
:
break
if
missing
:
try
:
details
=
[
'%s'
%
thread
.
exception
for
thread
in
missing
]
except
Exception
:
details
=
[]
raise
ClientError
(
'%s blocks failed to upload'
%
len
(
missing
),
details
=
[
'%s'
%
thread
.
exception
for
thread
in
missing
]
)
details
=
details
)
except
KeyboardInterrupt
:
sendlog
.
info
(
'- - - wait for threads to finish'
)
for
thread
in
activethreads
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment