From 0f22013ae40e49412684903503005519144dc245 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 10 Nov 2008 19:06:01 +0000 Subject: minor: remove mono compiler warnings --- OpenSim/ApplicationPlugins/ScriptEngine/ComponentFactory.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/ApplicationPlugins/ScriptEngine') diff --git a/OpenSim/ApplicationPlugins/ScriptEngine/ComponentFactory.cs b/OpenSim/ApplicationPlugins/ScriptEngine/ComponentFactory.cs index 48cd1f9..03d3f6f 100644 --- a/OpenSim/ApplicationPlugins/ScriptEngine/ComponentFactory.cs +++ b/OpenSim/ApplicationPlugins/ScriptEngine/ComponentFactory.cs @@ -65,10 +65,11 @@ namespace OpenSim.ApplicationPlugins.ScriptEngine { componentAssembly = Assembly.LoadFrom(file); } - catch (Exception e) + catch { m_log.ErrorFormat("[{0}] Error loading: \"{1}\".", Name, file); } + if (componentAssembly != null) { try -- cgit v1.1