This commit is contained in:
spikecodes
2021-02-20 18:36:30 -08:00
parent 9cfab348eb
commit dd67b52199
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,
}
}