add try
parent
21a10b9382
commit
6a4bd9a044
|
@ -209,7 +209,7 @@ namespace OpenSim.Modules.Currency
|
|||
|
||||
private int m_hg_avatarClass = (int)AvatarType.HG_AVATAR;
|
||||
|
||||
private NSLCertificateVerify m_certVerify = new NSLCertificateVerify(); // サーバ認証用
|
||||
private NSLCertificateVerify m_certVerify = null;
|
||||
|
||||
|
||||
/// <summary>
|
||||
|
@ -253,6 +253,16 @@ namespace OpenSim.Modules.Currency
|
|||
/// <param name="source"></param>
|
||||
public void Initialise(Scene scene, IConfigSource source)
|
||||
{
|
||||
try
|
||||
{
|
||||
m_certVerify = new NSLCertificateVerify(); // サーバ認証用
|
||||
}catch(Exception error)
|
||||
{
|
||||
m_log.Error("[MoneyModule] " + error.Message);
|
||||
m_log.Error("[MoneyModule] " + error.StackTrace);
|
||||
}
|
||||
|
||||
|
||||
Initialise(source);
|
||||
if (string.IsNullOrEmpty(m_moneyServURL)) m_enable_server = false;
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue