aboutsummaryrefslogtreecommitdiff
path: root/urls
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-01-01 21:48:52 +0000
committerJulio Capote <jcapote@gmail.com>2023-01-01 21:48:52 +0000
commit2969956f7eac5fb18fe3bcad24bdc08ee63497af (patch)
treefa85fe89c778e38f015e441c01f140d19f8c65fc /urls
parentb3f22c698739bdd57dab77af45a0b8a43da72ca4 (diff)
downloadcommunique-2969956f7eac5fb18fe3bcad24bdc08ee63497af.tar.gz
remove panic
Diffstat (limited to 'urls')
-rw-r--r--urls/urls.go1
1 files changed, 0 insertions, 1 deletions
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