Instead of logging non-existant thingId messages to Apache, log to webgui.log
This commit is contained in:
parent
9764c2f406
commit
969b36231e
1 changed files with 1 additions and 1 deletions
|
|
@ -2668,7 +2668,7 @@ sub www_editThingDataSaveViaAjax {
|
|||
return '{}';
|
||||
}
|
||||
else {
|
||||
warn "thingId not found in thingProperties\n";
|
||||
$session->log->warn("thingId ".$thingProperties->{thingId}." not found in thingProperties");
|
||||
$session->http->setStatus("404", "Not Found");
|
||||
return JSON->new->encode({message => "The thingId you requested can not be found."});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue