From 3bdda3f2da2f00a0760e931ffe05630d46051a9b Mon Sep 17 00:00:00 2001 From: spiperac Date: Mon, 15 Jun 2026 07:35:56 +0200 Subject: fix: Fixed silent error swallowing --- internal/ui/intruder.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'internal/ui/intruder.go') diff --git a/internal/ui/intruder.go b/internal/ui/intruder.go index 7527b82..83f81e1 100644 --- a/internal/ui/intruder.go +++ b/internal/ui/intruder.go @@ -23,6 +23,7 @@ import ( "fyne.io/fyne/v2/widget" internalhttp "github.com/shiv/internal/http" + "github.com/shiv/internal/logger" "github.com/shiv/internal/store" "github.com/shiv/internal/ui/widgets" ) @@ -197,6 +198,8 @@ func (t *intruderTab) buildRequestPane() fyne.CanvasObject { defer readCloser.Close() data, err := io.ReadAll(readCloser) if err != nil { + logger.Error("intruder: read payloads file: %v", err) + dialog.ShowError(err, t.win) return } t.payloadEntry.SetText(string(data)) -- cgit v1.2.3