diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-11-05 19:19:34 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-11-05 19:19:34 +0000 |
commit | 8f416b40b25e1b6cb04b5e1172152b06ccbfe07b (patch) | |
tree | da3a8ea0949bfcbcb61dfa55a974c9e235eee3ae | |
parent | ec1ba954d777ec5ee59e3cf9cdf710a80c16fcd1 (diff) |
Merged revisions 228080 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r228080 | qwell | 2009-11-05 13:16:29 -0600 (Thu, 05 Nov 2009) | 15 lines
Merged revisions 228079 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r228079 | qwell | 2009-11-05 13:14:25 -0600 (Thu, 05 Nov 2009) | 8 lines
Fix crash on VPB exception when no hardware is present.
(closes issue #14970)
Reported by: tzafrir
Patches:
vpb_exception.diff uploaded by tzafrir (license 46)
Tested by: markwaters
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@228090 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/chan_vpb.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_vpb.cc b/channels/chan_vpb.cc index 7b076de17..1f3d1fcb6 100644 --- a/channels/chan_vpb.cc +++ b/channels/chan_vpb.cc @@ -2702,7 +2702,7 @@ static enum ast_module_load_result load_module() int num_cards = 0; try { num_cards = vpb_get_num_cards(); - } catch (VpbException e) { + } catch (std::exception e) { ast_log(LOG_ERROR, "No Voicetronix cards detected\n"); return AST_MODULE_LOAD_DECLINE; } |