diff options
author | Michael Muré <batolettre@gmail.com> | 2018-07-23 00:04:46 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-07-23 00:04:46 +0200 |
commit | 17e2ec8f5679c1ba7ae2ea45290e9303beb3c227 (patch) | |
tree | c8862ebf6e9e9314361120127bf3fc59877c3e02 /commands/webui.go | |
parent | e1f597639bfc2f796f74afa87e41581087f0b26e (diff) | |
download | git-bug-17e2ec8f5679c1ba7ae2ea45290e9303beb3c227.tar.gz |
bug: refactor to limit abstraction leak and to have a more reusable code for the UIs
Diffstat (limited to 'commands/webui.go')
-rw-r--r-- | commands/webui.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/webui.go b/commands/webui.go index c4db2ae6..802fc5df 100644 --- a/commands/webui.go +++ b/commands/webui.go @@ -19,7 +19,7 @@ func runWebUI(cmd *cobra.Command, args []string) error { var err error port, err = freeport.GetFreePort() if err != nil { - log.Fatal(err) + return err } } |