Log a warning for unhandled commands.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4195 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-06-16 01:22:43 +00:00
parent b9509e434e
commit b378bda604
@@ -195,6 +195,8 @@ public /*abstract*/ class PlaceController /*extends Controller*/
*/
public function handleAction (cmd :String, arg :Object) :Boolean
{
Log.getLog(this).warning("Unhandled controller command [cmd=" + cmd +
", arg=" + arg + "].");
return false; // by default, no action is handled
}