From 7baf5164fd8e49af95e467e9d14313695e8590f6 Mon Sep 17 00:00:00 2001 From: Xevion Date: Wed, 25 Dec 2019 02:59:19 -0600 Subject: [PATCH] change error message on global limiter --- app/sound.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/sound.py b/app/sound.py index 1b5ab43..0600844 100644 --- a/app/sound.py +++ b/app/sound.py @@ -44,7 +44,7 @@ def downloadLimiter(): # Streams back the specified media back to the client @app.route('/stream//') -@limiter.limit(downloadLimiter, lambda : 'global', error_message='Rate Limit Hit') +@limiter.limit(downloadLimiter, lambda : 'global', error_message='429 Too Many Requests') def stream(service, mediaid): if service == 'youtube': if YouTubeAudio.isValid(mediaid):