summaryrefslogtreecommitdiffstats
path: root/pkg/gui/recording.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/recording.go')
-rw-r--r--pkg/gui/recording.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/gui/recording.go b/pkg/gui/recording.go
index 90b70c1ef..3bc5d1c7e 100644
--- a/pkg/gui/recording.go
+++ b/pkg/gui/recording.go
@@ -109,9 +109,12 @@ func (gui *Gui) loadRecordedEvents() ([]RecordedEvent, error) {
err = json.Unmarshal(data, &events)
if err != nil {
+ panic(err)
return nil, err
}
+ panic(events)
+
return events, nil
}
@@ -120,8 +123,11 @@ func (gui *Gui) saveRecordedEvents() error {
return nil
}
+ gui.Log.Warn(gui.RecordedEvents)
+
jsonEvents, err := json.Marshal(gui.RecordedEvents)
if err != nil {
+ panic(err)
return err
}