mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Minor improvements to logging
Eliminated an extra newline in the console if the log line doesn't contain a category (example of a category: "[ASSETS]").
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
d3a4d67a20
commit
2f398231ac
@@ -117,7 +117,10 @@ namespace OpenSim.Server.Base
|
||||
catch (Exception e)
|
||||
{
|
||||
if (!(e is System.MissingMethodException))
|
||||
m_log.ErrorFormat("Error loading plugin from {0}, exception {1}", dllName, e.InnerException);
|
||||
{
|
||||
m_log.ErrorFormat("Error loading plugin {0} from {1}. Exception: {2}",
|
||||
interfaceName, dllName, e.InnerException == null ? e.Message : e.InnerException.Message);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user