mirror of
https://github.com/simon987/task_tracker.git
synced 2025-12-16 00:09:03 +00:00
Some error handling work
This commit is contained in:
@@ -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!")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user