Skip to content
Snippets Groups Projects
Commit 64e83274 authored by jkerdreu's avatar jkerdreu
Browse files

Added error 500 fixe

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/trunk@2131 b32b6428-25c9-4566-ad07-03861ab6144f
parent 89ab92e3
No related branches found
No related tags found
No related merge requests found
......@@ -42,6 +42,10 @@ class WARP10Logger:
return
if rsp.status != 200:
logger.error('%s: %s' % (rsp.status,rsp.reason))
# warp10 will rise an internal error if data contain contain a wrong pload
# I decided to drop this data, because we will loop until death here
if rsp.status == 500:
DATA_BUF=''
return
DATA_BUF = ''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment