This commit is contained in:
spikecodes 2021-02-20 18:36:30 -08:00
parent 9cfab348eb
commit dd67b52199
No known key found for this signature in database
GPG key ID: 004CECFF9B463BCB
6 changed files with 9 additions and 14 deletions

View file

@ -58,7 +58,7 @@ pub async fn item(req: Request<()>) -> tide::Result {
})
}
// If the Reddit API returns an error, exit and send error page to user
Err(msg) => error(msg).await,
Err(msg) => error(req, msg).await,
}
}