summaryrefslogtreecommitdiff
path: root/utils/network.go
diff options
context:
space:
mode:
Diffstat (limited to 'utils/network.go')
-rwxr-xr-xutils/network.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/network.go b/utils/network.go
index e57854a8..b73363db 100755
--- a/utils/network.go
+++ b/utils/network.go
@@ -38,7 +38,7 @@ func CreateListener(address string) (net.Listener, error) {
if fileExists(dsn[1]) {
err := syscall.Unlink(dsn[1])
if err != nil {
- return nil, fmt.Errorf("error during the unlink syscall: error %v", err)
+ return nil, fmt.Errorf("error during the unlink syscall: error %w", err)
}
}
return net.Listen(dsn[0], dsn[1])