diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-04-03 13:32:58 -0400 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2017-04-03 10:32:58 -0700 |
commit | 6b61834ab14e9a4e51c29dd2904a1332c327aae6 (patch) | |
tree | 283122751e3e8c13cc058c4c575fd0e6d7a7549e /store/sql_system_store.go | |
parent | e49f5928c55ba57c39efa11c568c66342b962aae (diff) | |
download | chat-6b61834ab14e9a4e51c29dd2904a1332c327aae6.tar.gz chat-6b61834ab14e9a4e51c29dd2904a1332c327aae6.tar.bz2 chat-6b61834ab14e9a4e51c29dd2904a1332c327aae6.zip |
Add store unit tests and add make target for testing store with postgres (#5925)
* Add store unit tests and add make target for testing store with postgres
* Remove postgres target form test-server target
* Fix audit test
Diffstat (limited to 'store/sql_system_store.go')
-rw-r--r-- | store/sql_system_store.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/store/sql_system_store.go b/store/sql_system_store.go index cb589e760..803383408 100644 --- a/store/sql_system_store.go +++ b/store/sql_system_store.go @@ -34,7 +34,7 @@ func (s SqlSystemStore) Save(system *model.System) StoreChannel { result := StoreResult{} if err := s.GetMaster().Insert(system); err != nil { - result.Err = model.NewLocAppError("SqlSystemStore.Save", "store.sql_system.save.app_error", nil, "") + result.Err = model.NewLocAppError("SqlSystemStore.Save", "store.sql_system.save.app_error", nil, err.Error()) } storeChannel <- result |