~adnano/astronaut

7b19a9756cf64f340aac39958f078eee7bb00fd1 — Adnan Maolood 21 days ago b0d432b
tab: Don't show error page for ErrNotTrusted
1 files changed, 5 insertions(+), 0 deletions(-)

M tab.go
M tab.go => tab.go +5 -0
@@ 382,6 382,11 @@ func (t *Tab) do(ctx context.Context, req *gemini.Request, via []*gemini.Request

	resp, err := t.doRequest(ctx, req)
	if err != nil {
		if err == ErrNotTrusted {
			// Ignore error
			t.setText(nil)
			return nil
		}
		return err
	}