mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-16 16:47:24 +00:00
chore: fix for testrail report in case of errors
This commit is contained in:
parent
ca8a0028a8
commit
db7ec62e68
@ -40,7 +40,7 @@ def init_testrail_api(request):
|
|||||||
auth=(configs.testrail.USR, configs.testrail.PSW),
|
auth=(configs.testrail.USR, configs.testrail.PSW),
|
||||||
)
|
)
|
||||||
|
|
||||||
if response.status_code != 200:
|
if response.status_code in [200, 400]:
|
||||||
LOG.info('TestRail report skipped because of Testrail server error')
|
LOG.info('TestRail report skipped because of Testrail server error')
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user