From e5aae41fe75dd5f5c7155ed5289a86b6ffab4471 Mon Sep 17 00:00:00 2001 From: Tit Petric Date: Wed, 3 Apr 2019 14:20:21 +0200 Subject: [PATCH] upd(system): return service.Init() error --- system/start.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/system/start.go b/system/start.go index de3fa6da9..28d61afb6 100644 --- a/system/start.go +++ b/system/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 {