Index: branches/fundraising/extensions/DonationInterface/gateway_common/gateway.adapter.php |
— | — | @@ -956,8 +956,13 @@ |
957 | 957 | $transaction += $this->getData(); |
958 | 958 | |
959 | 959 | self::log( "Intended STOMP transaction: " . print_r( $transaction, true ) ); |
960 | | - |
961 | | - wfRunHooks( $hook, array( $transaction ) ); |
| 960 | + |
| 961 | + try { |
| 962 | + wfRunHooks( $hook, array( $transaction ) ); |
| 963 | + } catch ( Exception $e ) { |
| 964 | + self::log( "STOMP ERROR. Could not add message. " . $e->getMessage() , LOG_CRIT ); |
| 965 | + } |
| 966 | + |
962 | 967 | } |
963 | 968 | |
964 | 969 | function smooshVarsForStaging() { |