Improved error handling for the discord bot

This commit is contained in:
2019-06-05 14:56:12 +09:00
parent dd36c852d3
commit 190a85fe08
11 changed files with 130 additions and 24 deletions

View File

@ -21,6 +21,6 @@ func Get(ctx aero.Context) error {
}
customCtx := ctx.(*middleware.OpenGraphContext)
customCtx.OpenGraph = getOpenGraph(ctx, amv)
customCtx.OpenGraph = getOpenGraph(amv)
return ctx.HTML(components.AMVPage(amv, user))
}