diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-04-05 10:16:22 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-04-05 10:16:22 +0200 |
| commit | 5113ea73d8be2f296aa97bccfd19535e2e432f57 (patch) | |
| tree | 0d6c6693178871d562e88e9fb01ae710d9ddf54b /src | |
| parent | c83d10b6813d171bf349da71256d719b9148bde4 (diff) | |
Remove duplicate graph writing code
Diffstat (limited to 'src')
| -rw-r--r-- | src/fsm.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2,6 +2,7 @@ package eduvpn import ( "errors" + "fmt" "os" ) @@ -169,7 +170,7 @@ func (eduvpn *VPNState) writeGraph() { f, err := os.Create("debug.graph") if err != nil { - panic(err) + eduvpn.Log(LOG_INFO, fmt.Sprintf("Failed to write debug fsm graph with error %v", err)) } defer f.Close() |
