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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user