Skip to content
Snippets Groups Projects
Commit 97017041 authored by Tucker Gary Siegel's avatar Tucker Gary Siegel
Browse files

logging

parent 1ddf3392
No related branches found
No related tags found
No related merge requests found
......@@ -90,6 +90,7 @@ func GddFindFirstByYearAndLocation(year int, location entities.Location) entitie
var g entities.Gdd
err := coll.FindOne(Session.Ctx, filter).Decode(&g)
if err != nil {
fmt.Println(err)
panic(config.NO_DATA_FOUND.PutDetail("reason", "gdd"))
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment