anukat2015 / elda

Automatically exported from code.google.com/p/elda
0 stars 0 forks source link

bindings "not substituted" may do unnecessary logging. #177

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When a substitution "...{spoo}..." is being evaluated in Bindings,
and there is no value for the variable `spoo`, Bindings makes
a log entry noting the fact. (And {spoo} is replaced by {spoo},
ie, unbound variable portions of the string do not change).

If this is legal, there's no need for the debug message, and if
it's not legal, then it should generate some warning message,
eg HTTP status 400.

[The messages have just been changed to DEBUG from WARN]

Original issue reported on code.google.com by ehog.he...@googlemail.com on 19 Jul 2013 at 2:33

GoogleCodeExporter commented 8 years ago
If its an item endpoint I'd let the 400 arise from any subsequent query failure.

Original comment by skwli...@gmail.com on 19 Jul 2013 at 4:11

GoogleCodeExporter commented 8 years ago
There might not be one. Just a wrong answer.

Chris

Original comment by ehog.he...@googlemail.com on 19 Jul 2013 at 4:15