Add a reason message for a code path that lacks one

avinationmerge
Melanie 2012-08-03 01:30:05 +02:00
parent ecffcf7f65
commit d58743ddc1
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ namespace OpenSim.Services.Connectors.Simulation
reason = String.Empty; reason = String.Empty;
if (destination == null) if (destination == null)
{ {
reason = "Destination not found";
m_log.Debug("[REMOTE SIMULATION CONNECTOR]: Given destination is null"); m_log.Debug("[REMOTE SIMULATION CONNECTOR]: Given destination is null");
return false; return false;
} }