diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-05-15 21:26:00 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-05-15 21:26:00 +0200 |
| commit | 590ed0fb4a5d7edab4f3cae8342fd89b7d9c4491 (patch) | |
| tree | c3d6619cf759e5f8dd403f075d70e71b9d86fb74 /internal | |
| parent | 4e2ad1eac476219f06503373cebb449b0dc398ba (diff) | |
FSM: Return if no debug graph file could be created
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/fsm.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/fsm.go b/internal/fsm.go index b52b463..4df24a0 100644 --- a/internal/fsm.go +++ b/internal/fsm.go @@ -147,6 +147,7 @@ func (fsm *FSM) writeGraph() { f, err := os.Create(graphFile) if err != nil { fsm.Logger.Log(LOG_INFO, fmt.Sprintf("Failed to write debug fsm graph with error %v", err)) + return } f.WriteString(graph) |
