Skip to content

Commit

Permalink
Merge pull request #196 from digital-land/fix/loggerWarning
Browse files Browse the repository at this point in the history
fix bug
  • Loading branch information
GeorgeGoodall authored Aug 1, 2024
2 parents fd5a0fd + 1fe4b0f commit d9d5d74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filters/makeDatasetSlugToReadableNameFilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const makeDatasetSlugToReadableNameFilter = (datasetNameMapping) => {
if (!name) {
// throw new Error(`Can't find a name for ${slug}`)
// ToDo: work out what to do here? potentially update it with data from datasette
logger.warning(`can't find a name for ${slug}`)
logger.warn(`can't find a name for ${slug}`)
return slug
}
return name
Expand Down

0 comments on commit d9d5d74

Please sign in to comment.