@@ -97,8 +97,7 @@ discard block |
||
| 97 | 97 | foreach( $processors as $processor ) { |
| 98 | 98 | $processor->renew( $item, $newInvoice ); |
| 99 | 99 | } |
| 100 | - } |
|
| 101 | - catch( \Exception $e ) |
|
| 100 | + } catch( \Exception $e ) |
|
| 102 | 101 | { |
| 103 | 102 | $msg = 'Unable to process subscription with ID "%1$S": %2$s'; |
| 104 | 103 | $logger->log( sprintf( $msg, $item->getId(), $e->getMessage() ) ); |
@@ -141,8 +140,7 @@ discard block |
||
| 141 | 140 | |
| 142 | 141 | $context->setUserId( $baseItem->getCustomerId() ); |
| 143 | 142 | $context->setGroupIds( $customerItem->getGroups() ); |
| 144 | - } |
|
| 145 | - catch( \Exception $e ) {} // Subscription without account |
|
| 143 | + } catch( \Exception $e ) {} // Subscription without account |
|
| 146 | 144 | |
| 147 | 145 | return $context; |
| 148 | 146 | } |