From 205ad4bef135423a66c7724674371e18df4191bd Mon Sep 17 00:00:00 2001 From: skrusty_cp Date: Mon, 16 Sep 2013 06:33:24 -0700 Subject: [PATCH] Fixed issue 1199 (Helper.cs compile error on Release) --- Asterisk.2013/Asterisk.NET/Helper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Asterisk.2013/Asterisk.NET/Helper.cs b/Asterisk.2013/Asterisk.NET/Helper.cs index 27bacd0..26a6ea3 100644 --- a/Asterisk.2013/Asterisk.NET/Helper.cs +++ b/Asterisk.2013/Asterisk.NET/Helper.cs @@ -562,7 +562,7 @@ namespace Asterisk.NET logger.Error("Unable to convert value '" + attributes[name] + "' of property '" + name + "' on " + o.GetType() + " to required enum type " + dataType, ex); continue; #else - throw new ManagerException("Unable to convert value '" + attributes[name] + "' of property '" + name + "' on " + o.GetType() + " to required enum type " + dataType, ex); #endif + throw new ManagerException("Unable to convert value '" + attributes[name] + "' of property '" + name + "' on " + o.GetType() + " to required enum type " + dataType, ex); #endif } }