diff options
Diffstat (limited to 'OpenSim/Framework/Servers/BaseHttpServer.cs')
-rw-r--r-- | OpenSim/Framework/Servers/BaseHttpServer.cs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs index f36b2fb..50f4e23 100644 --- a/OpenSim/Framework/Servers/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/BaseHttpServer.cs | |||
@@ -372,8 +372,14 @@ namespace OpenSim.Framework.Servers | |||
372 | LLSD llsdRequest = null; | 372 | LLSD llsdRequest = null; |
373 | LLSD llsdResponse = null; | 373 | LLSD llsdResponse = null; |
374 | 374 | ||
375 | try { llsdRequest = LLSDParser.DeserializeXml(requestBody); } | 375 | try |
376 | catch (Exception ex) { m_log.Warn("[HTTPD]: Error - " + ex.Message); } | 376 | { |
377 | llsdRequest = LLSDParser.DeserializeXml(requestBody); | ||
378 | } | ||
379 | catch (Exception ex) | ||
380 | { | ||
381 | m_log.Warn("[HTTPD]: Error - " + ex.Message); | ||
382 | } | ||
377 | 383 | ||
378 | if (llsdRequest != null && m_llsdHandler != null) | 384 | if (llsdRequest != null && m_llsdHandler != null) |
379 | { | 385 | { |