From 8a8c54b5b4fd2bfe5841b43fb43e8a9b72b2ed99 Mon Sep 17 00:00:00 2001 From: Guilhem Fanton Date: Mon, 20 Aug 2018 17:41:58 +0200 Subject: [PATCH] chore(store): Dont panic on get store --- helpers/helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/helpers.go b/helpers/helpers.go index 6d96152..0367dee 100644 --- a/helpers/helpers.go +++ b/helpers/helpers.go @@ -176,7 +176,7 @@ func getStore(s string) interface{} { return v } - panic(fmt.Sprintf("No key named '%s' found", s)) + return false } func InitPathMap(file *descriptor.FileDescriptorProto) {