Skip to content

Commit

Permalink
More descriptive error message
Browse files Browse the repository at this point in the history
Co-authored-by: Anubhav Mishra <[email protected]>
  • Loading branch information
jfreda and anubhavmishra authored Jul 12, 2023
1 parent 1b8defd commit 3e5e92d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/api/documents_related_resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func documentsResourceRelatedResourcesHandler(
"method", r.Method,
"doc_id", docID,
)
http.Error(w, "Error accessing document",
http.Error(w, "Error accessing document resources",
http.StatusInternalServerError)
return
}
Expand Down

0 comments on commit 3e5e92d

Please sign in to comment.