Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit 878340d

Browse files
committed
Update error message
1 parent 9ab2157 commit 878340d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/wordpress/_global/getPostTypeTaxonomyArchive.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export default async function getPostTypeTaxonomyArchive(
9494
// Set error props if data not found.
9595
if (!posts || !pageInfo) {
9696
response.error = true
97-
response.errorMessage = `An error occurred while trying to retrieve data for ${taxonomy} taxonomy archive.`
97+
response.errorMessage = `An error occurred while trying to retrieve data for ${taxonomyId} ${taxonomy} archive.`
9898

9999
return null
100100
}

0 commit comments

Comments
 (0)