summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'config.go')
-rw-r--r--config.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.go b/config.go
index 0db21b1..0d5d3c0 100644
--- a/config.go
+++ b/config.go
@@ -86,7 +86,9 @@ func (all *Chats) ConfigLoad() error {
// this means the gemini.pb file exists and was read
if len(data) == 0 {
// todo: add default data here since it's blank? // might cause nil panic?
- return errors.New("chatpb.ConfigLoad() gemini.pb is empty")
+ all.AddGeminiComment("I like astronomy")
+ log.Info(errors.New("chatpb.ConfigLoad() gemini.pb is empty"))
+ return nil
}
err = all.Unmarshal(data)
test := NewChats()