aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tunnel/service.go
diff options
context:
space:
mode:
Diffstat (limited to 'tunnel/service.go')
-rw-r--r--tunnel/service.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/tunnel/service.go b/tunnel/service.go
index 22bbf5a0..4b02a503 100644
--- a/tunnel/service.go
+++ b/tunnel/service.go
@@ -12,8 +12,6 @@ import (
"net"
"os"
"runtime"
- "runtime/debug"
- "strings"
"time"
"golang.org/x/sys/windows/svc"
@@ -108,16 +106,6 @@ func (service *tunnelService) Execute(args []string, r <-chan svc.ChangeRequest,
serviceError = services.ErrorRingloggerOpen
return
}
- defer func() {
- if x := recover(); x != nil {
- for _, line := range append([]string{fmt.Sprint(x)}, strings.Split(string(debug.Stack()), "\n")...) {
- if len(strings.TrimSpace(line)) > 0 {
- log.Println(line)
- }
- }
- panic(x)
- }
- }()
config, err = conf.LoadFromPath(service.Path)
if err != nil {