testing on devrama

master
Aevann1 2022-09-20 00:58:55 +02:00
parent 6da4e16a45
commit 5e6fe2e27d
3 changed files with 3 additions and 2 deletions

View File

@ -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()

View File

@ -10,7 +10,7 @@
<div class="row justify-content-center">
<div class="col-10 col-md-5">
<div class="text-center px-3 my-8">
<img alt=":#marseydead:" loading="lazy" src="/e/marseycarp3.webp">
<img alt=":#marseycarp3:" loading="lazy" src="/e/marseycarp3.webp">
<pre></pre>
<h1 class="h5">500 Internal Server Error</h1>
<p class="text-muted mb-5">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 <I>but not other pages</I>, 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</p>

View File

@ -124,7 +124,7 @@
<div class="row justify-content-center">
<div class="col-10 col-md-5">
<div class="text-center px-3 my-8">
<img alt=":#marseydead:" loading="lazy" src="/e/marseycarp3.webp" />
<img alt=":#marseycarp3:" loading="lazy" src="/e/marseycarp3.webp" />
<pre></pre>
<h1 class="h5">500 Internal Server Error</h1>
<p class="text-muted mb-5">