bluesky / event-model

data model for event-based data collection and analysis
https://blueskyproject.io/event-model
BSD 3-Clause "New" or "Revised" License
15 stars 31 forks source link

If Resource root was change, note that. #120

Closed danielballan closed 4 years ago

danielballan commented 5 years ago

If handler creation fails because a file is not found, the error message can be confusing because it shows the Resource document but does not include any information about whether the 'root' was overridden by root_map.

The phrasing here could probably be improved upon. Any ideas?

tacaswell commented 5 years ago

We should probably mention the existence of root map and the value of root in all cases. I suspect we are more likely going to have issues because things are not in the root map rather than because they are erroneously being mapped.

danielballan commented 4 years ago

Good suggestion. I now report the root_map in ever case and, if applicable report it before/after the root_map change.