From b9ecc5e50f3339de29a4a5faa7d7e34250de1db8 Mon Sep 17 00:00:00 2001 From: Tit Petric Date: Wed, 3 Apr 2019 14:16:11 +0200 Subject: [PATCH] upd(crm): return error from service.Init() --- crm/start.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/crm/start.go b/crm/start.go index 22d6c2548..d9231070c 100644 --- a/crm/start.go +++ b/crm/start.go @@ -53,10 +53,8 @@ func Init(ctx context.Context) error { }, }) - // Don't change this, it needs Database - service.Init() - - return nil + // Don't change this to init(), it needs Database + return service.Init() } func InitDatabase(ctx context.Context) error {