Azure / Azure/data-api-builder

[Bug]: Improve Logging for validation failure in HotReload

Open
#2,456 1 comment 0 reactions 0 assignees View on GitHub
bug improvement triage
Dominant language
C#
Stars
1.5k
Forks
370
Avg merge
3d 17h
Merged PRs (30d)
8

Description

### What happened?

For many scenarios, validation failure messages are not useful This needs to be improved.
for example:
1. using invalid connection string.
2. using an incorrect source for entity.

All the above just give a generic message showing: `Unable to hot reload configuration file due to One or more errors occurred.`
This message is not very useful in debugging.

### Version

1.3.13-rc

### What database are you using?

Azure SQL

### What hosting model are you using?

Local (including CLI)

### Which API approach are you accessing DAB through?

_No response_

### Relevant log output

```Text

```

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.