Skip to content

Commit

Permalink
Instead of logging non-existant thingId messages to Apache, log to we…
Browse files Browse the repository at this point in the history
…bgui.log
  • Loading branch information
perlDreamer committed Sep 22, 2010
1 parent 9764c2f commit 969b362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WebGUI/Asset/Wobject/Thingy.pm
Expand Up @@ -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."});
}
Expand Down

0 comments on commit 969b362

Please sign in to comment.