From 7d33354acb1b25fc33b11bebaf90aaa07ac04a64 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Tue, 17 Feb 2026 07:05:10 +0000 Subject: [PATCH] Don't panic if we don't have a FieldseekerURL --- background/arcgis.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/background/arcgis.go b/background/arcgis.go index da3c53ac..42548b85 100644 --- a/background/arcgis.go +++ b/background/arcgis.go @@ -380,6 +380,9 @@ func NewFieldSeeker(ctx context.Context, oauth *models.OauthToken) (*fieldseeker // The URL for fieldseeker should be something like // https://foo.arcgis.com/123abc/arcgis/rest/services/FieldSeekerGIS/FeatureServer // We need to break it up + if row.FieldseekerURL.IsNull() { + return nil, fmt.Errorf("No fieldseeker URL") + } host, pathParts, err := extractURLParts(row.FieldseekerURL.MustGet()) if err != nil { return nil, fmt.Errorf("Failed to break up provided url: %v", err)