Better error message
This commit is contained in:
parent
701f066139
commit
bd37cc812f
1 changed files with 2 additions and 3 deletions
|
@ -55,9 +55,8 @@ export default class TagRenderingQuestion extends Combine {
|
||||||
const inputElement: InputElement<TagsFilter> = TagRenderingQuestion.GenerateInputElement(configuration, applicableUnit, tags)
|
const inputElement: InputElement<TagsFilter> = TagRenderingQuestion.GenerateInputElement(configuration, applicableUnit, tags)
|
||||||
|
|
||||||
if (inputElement === undefined) {
|
if (inputElement === undefined) {
|
||||||
console.trace("MultiAnswer failed", configuration)
|
console.error("MultiAnswer failed - probably not a single option was possible", configuration)
|
||||||
const inputElement0: InputElement<TagsFilter> = TagRenderingQuestion.GenerateInputElement(configuration, applicableUnit, tags)
|
throw "MultiAnswer failed - probably not a single option was possible"
|
||||||
|
|
||||||
}
|
}
|
||||||
const save = () => {
|
const save = () => {
|
||||||
const selection = inputElement.GetValue().data;
|
const selection = inputElement.GetValue().data;
|
||||||
|
|
Loading…
Reference in a new issue