Fixed issue 1199 (Helper.cs compile error on Release)

This commit is contained in:
skrusty_cp 2013-09-16 06:33:24 -07:00
parent 2d363ba466
commit 205ad4bef1

View file

@ -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); logger.Error("Unable to convert value '" + attributes[name] + "' of property '" + name + "' on " + o.GetType() + " to required enum type " + dataType, ex);
continue; continue;
#else #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 #endif
} }
} }