locust 2.27.1.dev27__py3-none-any.whl → 2.27.1.dev29__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- locust/_version.py +2 -2
- locust/web.py +3 -2
- {locust-2.27.1.dev27.dist-info → locust-2.27.1.dev29.dist-info}/METADATA +1 -1
- {locust-2.27.1.dev27.dist-info → locust-2.27.1.dev29.dist-info}/RECORD +8 -8
- {locust-2.27.1.dev27.dist-info → locust-2.27.1.dev29.dist-info}/LICENSE +0 -0
- {locust-2.27.1.dev27.dist-info → locust-2.27.1.dev29.dist-info}/WHEEL +0 -0
- {locust-2.27.1.dev27.dist-info → locust-2.27.1.dev29.dist-info}/entry_points.txt +0 -0
- {locust-2.27.1.dev27.dist-info → locust-2.27.1.dev29.dist-info}/top_level.txt +0 -0
locust/_version.py
CHANGED
@@ -12,5 +12,5 @@ __version__: str
|
|
12
12
|
__version_tuple__: VERSION_TUPLE
|
13
13
|
version_tuple: VERSION_TUPLE
|
14
14
|
|
15
|
-
__version__ = version = '2.27.1.
|
16
|
-
__version_tuple__ = version_tuple = (2, 27, 1, '
|
15
|
+
__version__ = version = '2.27.1.dev29'
|
16
|
+
__version_tuple__ = version_tuple = (2, 27, 1, 'dev29')
|
locust/web.py
CHANGED
@@ -146,8 +146,9 @@ class WebUI:
|
|
146
146
|
@app.errorhandler(Exception)
|
147
147
|
def handle_exception(error):
|
148
148
|
error_message = str(error)
|
149
|
-
|
150
|
-
|
149
|
+
error_code = getattr(error, "code", 500)
|
150
|
+
logger.log(logging.INFO if error_code <= 404 else logging.ERROR, error_message)
|
151
|
+
return make_response(error_message, error_code)
|
151
152
|
|
152
153
|
@app.route("/assets/<path:path>")
|
153
154
|
def send_assets(path):
|
@@ -1,6 +1,6 @@
|
|
1
1
|
locust/__init__.py,sha256=g6oA-Ba_hs3gLWVf5MKJ1mvfltI8MFnDWG8qslqm8yg,1402
|
2
2
|
locust/__main__.py,sha256=vBQ82334kX06ImDbFlPFgiBRiLIinwNk3z8Khs6hd74,31
|
3
|
-
locust/_version.py,sha256=
|
3
|
+
locust/_version.py,sha256=I6BTfLIphBjjt9ydexOJQNz7f8bA7p_9sx4GEtlDCaA,428
|
4
4
|
locust/argument_parser.py,sha256=w4-Ue1XAFPwG3sLyXrpdV9ejKjTUOpcSsPBbCKwRbiQ,28740
|
5
5
|
locust/clients.py,sha256=YKuAyMAbxs8_-w7XJw0hc67KFBNNLxibsw6FwiS01Q8,14781
|
6
6
|
locust/debug.py,sha256=We6Z9W0btkKSc7PxWmrZx-xMynvOOsKhG6jmDgQin0g,5134
|
@@ -16,7 +16,7 @@ locust/py.typed,sha256=gkWLl8yD4mIZnNYYAIRM8g9VarLvWmTAFeUfEbxJLBw,65
|
|
16
16
|
locust/runners.py,sha256=Go8b8fpOAfFy6JuNcot7KyguHuExA6eoPHVmcgx3RoI,67813
|
17
17
|
locust/shape.py,sha256=t-lwBS8LOjWcKXNL7j2U3zroIXJ1b0fazUwpRYQOKXw,1973
|
18
18
|
locust/stats.py,sha256=-kI5fTGgs6w5FSaFYGhBAE2PnnCQWuBqmhYPTGPctTA,45558
|
19
|
-
locust/web.py,sha256=
|
19
|
+
locust/web.py,sha256=DKYHrH2Aq3TJ-lKSjG15uEQH4MBlU_zqMZPclqoLtuU,27036
|
20
20
|
locust/contrib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
21
21
|
locust/contrib/fasthttp.py,sha256=vByPepw35DF84qZ2xK89yHgjOA_8btV0wig_rSR6p4g,26757
|
22
22
|
locust/rpc/__init__.py,sha256=nVGoHWFQxZjnhCDWjbgXIbmFbN9sizAjkhvSs9_642c,58
|
@@ -70,9 +70,9 @@ locust/webui/dist/report.html,sha256=sOdZZVgZbqgu86BBCSQf3uQUYXgmgSnXF32JpnyAII8
|
|
70
70
|
locust/webui/dist/assets/favicon.ico,sha256=IUl-rYqfpHdV38e-s0bkmFIeLS-n3Ug0DQxk-h202hI,8348
|
71
71
|
locust/webui/dist/assets/index-941b6e82.js,sha256=G3n5R81Svt0HzbWaV3AV20jLWGLr4X50UZ-Adu2KcxU,1645614
|
72
72
|
locust/webui/dist/assets/logo.png,sha256=EIVPqr6wE_yqguHaqFHIsH0ZACLSrvNWyYO7PbyIj4w,19299
|
73
|
-
locust-2.27.1.
|
74
|
-
locust-2.27.1.
|
75
|
-
locust-2.27.1.
|
76
|
-
locust-2.27.1.
|
77
|
-
locust-2.27.1.
|
78
|
-
locust-2.27.1.
|
73
|
+
locust-2.27.1.dev29.dist-info/LICENSE,sha256=78XGpIn3fHVBfaxlPNUfjVufSN7QsdhpJMRJHv2AFpo,1095
|
74
|
+
locust-2.27.1.dev29.dist-info/METADATA,sha256=IRkXkEESVfmwdyPrWMCNRf9dZhxMr8ai9BsxJ_vbIJ4,7264
|
75
|
+
locust-2.27.1.dev29.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
76
|
+
locust-2.27.1.dev29.dist-info/entry_points.txt,sha256=RAdt8Ku-56m7bFjmdj-MBhbF6h4NX7tVODR9QNnOg0E,44
|
77
|
+
locust-2.27.1.dev29.dist-info/top_level.txt,sha256=XSsjgPA8Ggf9TqKVbkwSqZFuPlZ085X13M9orDycE20,7
|
78
|
+
locust-2.27.1.dev29.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|