Skip to content

Commit

Permalink
Merge pull request #230 from PDOK/debug
Browse files Browse the repository at this point in the history
fix(tiles): Add more debug info
  • Loading branch information
rkettelerij authored Sep 9, 2024
2 parents 69913ee + 139c059 commit 6f48bf1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ func validate(config *Config) error {
if config.OgcAPI.Tiles != nil && len(config.OgcAPI.Tiles.Collections) > 0 {
for _, coll := range config.OgcAPI.Tiles.Collections {
if coll.Tiles == nil {
return errors.New("invalid tiles config provided: no tileserver(s) configured for collection-level tiles")
return fmt.Errorf("invalid tiles config provided: no tileserver(s) "+
"configured for collection-level tiles. Collection: %s", coll.ID)
}
}
}
Expand Down

0 comments on commit 6f48bf1

Please sign in to comment.