Some error handling work

This commit is contained in:
2020-01-03 14:13:39 -05:00
parent 0ea6e18fb9
commit 15c4090a94
13 changed files with 1615 additions and 2850 deletions

View File

@@ -4,6 +4,6 @@ import "github.com/sirupsen/logrus"
func handleErr(err error) {
if err != nil {
logrus.WithError(err).Fatal("Error during database operation!")
logrus.WithError(err).Error("Error during database operation!")
}
}