Suppress error messages in the log if functions are not enabled. Just return failure instead.
parent
65dfb62b74
commit
504a69906b
|
@ -98,7 +98,7 @@ namespace OpenSim.Server.Handlers.UserAccounts
|
||||||
if (m_AllowCreateUser)
|
if (m_AllowCreateUser)
|
||||||
return CreateUser(request);
|
return CreateUser(request);
|
||||||
else
|
else
|
||||||
break;
|
return FailureResult();
|
||||||
case "getaccount":
|
case "getaccount":
|
||||||
return GetAccount(request);
|
return GetAccount(request);
|
||||||
case "getaccounts":
|
case "getaccounts":
|
||||||
|
@ -109,7 +109,7 @@ namespace OpenSim.Server.Handlers.UserAccounts
|
||||||
if (m_AllowSetAccount)
|
if (m_AllowSetAccount)
|
||||||
return StoreAccount(request);
|
return StoreAccount(request);
|
||||||
else
|
else
|
||||||
break;
|
return FailureResult();
|
||||||
}
|
}
|
||||||
|
|
||||||
m_log.DebugFormat("[USER SERVICE HANDLER]: unknown method request: {0}", method);
|
m_log.DebugFormat("[USER SERVICE HANDLER]: unknown method request: {0}", method);
|
||||||
|
|
Loading…
Reference in New Issue