aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/GridService
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Services/GridService')
-rw-r--r--OpenSim/Services/GridService/HypergridLinker.cs17
1 files changed, 7 insertions, 10 deletions
diff --git a/OpenSim/Services/GridService/HypergridLinker.cs b/OpenSim/Services/GridService/HypergridLinker.cs
index 3c7295a..1791098 100644
--- a/OpenSim/Services/GridService/HypergridLinker.cs
+++ b/OpenSim/Services/GridService/HypergridLinker.cs
@@ -109,17 +109,14 @@ namespace OpenSim.Services.GridService
109 109
110 m_log.Debug("[HYPERGRID LINKER]: Loaded all services..."); 110 m_log.Debug("[HYPERGRID LINKER]: Loaded all services...");
111 111
112 if (!string.IsNullOrEmpty(m_MapTileDirectory)) 112 try
113 { 113 {
114 try 114 Directory.CreateDirectory(m_MapTileDirectory);
115 { 115 }
116 Directory.CreateDirectory(m_MapTileDirectory); 116 catch (Exception e)
117 } 117 {
118 catch (Exception e) 118 m_log.WarnFormat("[HYPERGRID LINKER]: Could not create map tile storage directory {0}: {1}", m_MapTileDirectory, e);
119 { 119 m_MapTileDirectory = string.Empty;
120 m_log.WarnFormat("[HYPERGRID LINKER]: Could not create map tile storage directory {0}: {1}", m_MapTileDirectory, e);
121 m_MapTileDirectory = string.Empty;
122 }
123 } 120 }
124 121
125 if (MainConsole.Instance != null) 122 if (MainConsole.Instance != null)