mirror of
https://github.com/valitydev/yandex-tank.git
synced 2024-11-08 11:13:51 +00:00
return HTTP 500 on errors
This commit is contained in:
parent
ea0d163bdb
commit
82c0cc9991
@ -61,7 +61,7 @@ class SqlGun(AbstractPlugin):
|
||||
except exc.ResourceClosedError as e:
|
||||
pass
|
||||
except exc.SQLAlchemyError as e:
|
||||
httpCode = e.orig.args[0]
|
||||
httpCode = 500
|
||||
self.log.debug(e.orig.args)
|
||||
rt = int((time.time() - start_time) * 1000)
|
||||
data_item = Sample(
|
||||
|
Loading…
Reference in New Issue
Block a user