diff --git a/files/routes/front.py b/files/routes/front.py index 3202436dd..d38c4ab5a 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -197,6 +197,7 @@ def random_post(v): @app.get("/random_user") @auth_required def random_user(v): + abort(500) u = g.db.query(User.username).filter(User.song != None).order_by(func.random()).first() diff --git a/files/templates/errors/500.html b/files/templates/errors/500.html index 42db88e68..95cb28b76 100644 --- a/files/templates/errors/500.html +++ b/files/templates/errors/500.html @@ -10,7 +10,7 @@
Hiiiii it's carp! I think this error means that there's a timeout error. And I think that means something took too long to load so it decided not to work at all. If you keep seeing this on the same page but not other pages, then something is probably wrong with that specific function. It may not be called a function, but that sounds right to me. Anyway, ping me and I'll whine to someone smarter to fix it. Don't bother them. Thanks ily <3
diff --git a/files/templates/errors/502.html b/files/templates/errors/502.html index 50e91b76f..34ee6e827 100644 --- a/files/templates/errors/502.html +++ b/files/templates/errors/502.html @@ -124,7 +124,7 @@