aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.go b/main.go
index 9656146..c4cb4f2 100644
--- a/main.go
+++ b/main.go
@@ -26,6 +26,10 @@ func main() {
}
func runProgram() error {
+ err := setupDB()
+ if err != nil {
+ return fmt.Errorf("Error connecting to KV store: %s", err)
+ }
model, err := tea.NewProgram(StartSelecting(), tea.WithMouseCellMotion()).Run()
if err != nil {