From 2969956f7eac5fb18fe3bcad24bdc08ee63497af Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Sun, 1 Jan 2023 16:48:52 -0500 Subject: remove panic --- urls/urls.go | 1 - 1 file changed, 1 deletion(-) (limited to 'urls') diff --git a/urls/urls.go b/urls/urls.go index 3c08e07..98ba922 100644 --- a/urls/urls.go +++ b/urls/urls.go @@ -25,7 +25,6 @@ func UrlOutbox(name, domain string) (*url.URL, error) { func UrlActivity(name, domain, id string) (*url.URL, error) { u, err := url.Parse(path.Join(domain, "actors", name, "outbox", id, "activity")) if err != nil { - panic(err) return nil, fmt.Errorf("could not build activity url: %w", err) } return u, nil -- cgit v1.2.3