Only save crashes to disk if save_crashes in OpenSim.ini is true (false by default).
parent
eb330f71be
commit
c6f616049c
|
@ -160,6 +160,8 @@ namespace OpenSim
|
||||||
|
|
||||||
m_log.ErrorFormat("[APPLICATION]: {0}", msg);
|
m_log.ErrorFormat("[APPLICATION]: {0}", msg);
|
||||||
|
|
||||||
|
if (m_saveCrashDumps)
|
||||||
|
{
|
||||||
// Log exception to disk
|
// Log exception to disk
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
@ -182,6 +184,7 @@ namespace OpenSim
|
||||||
{
|
{
|
||||||
m_log.ErrorFormat("[CRASH LOGGER CRASHED]: {0}", e2);
|
m_log.ErrorFormat("[CRASH LOGGER CRASHED]: {0}", e2);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
_IsHandlingException = false;
|
_IsHandlingException = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue