Prebuilt entity misleading error message #8670
Labels
Backlog
Backlog items - not in current milestone
Bot Services
Required for internal Azure reporting. Do not delete. Do not change color.
customer-reported
Required for internal Azure reporting. Do not delete.
ExemptFromDailyDRIReport
Team: Platform
Type: Bug
Something isn't working
Describe the bug
When using some prebuilt entities not available in selected locale (culture), instead of throwing error or outputting a warning it says a completely different message. E.g.: this error message is outputted with
it-it
usinggeographyV2
Related issues:
Version
Version: 2.1.1
Electron: 8.2.4
Chrome: 80.0.3987.165
NodeJS: 12.13.0
V8: 8.0.426.27-electron.0
Browser
OS
To Reproduce
Steps to reproduce the behavior:
en-us
Expected behavior
It should tell the user that the prebuilt entity is not available.
Screenshots
Not applicable
Additional context
This error is due to the fact that
Builder
is constructed in this line passing a log function.This way, bf-cli outputs a warning (see here) that's not captured by Composer.
Referenced issues on bf-cli already address this problem
The text was updated successfully, but these errors were encountered: