From ee8e167844fd4d18175cba384996bd2e198f41e4 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Thu, 9 Jan 2020 17:09:17 +0000 Subject: [PATCH] Fix #842 --- federationsender/storage/storage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/federationsender/storage/storage.go b/federationsender/storage/storage.go index 9f2805cf7..98877140a 100644 --- a/federationsender/storage/storage.go +++ b/federationsender/storage/storage.go @@ -42,6 +42,6 @@ func NewDatabase(dataSourceName string) (Database, error) { case "postgres": return postgres.NewDatabase(dataSourceName) default: - return errors.New("unknown schema") + return nil, errors.New("unknown schema") } }