@@ -98,8 +98,7 @@ |
||
98 | 98 | } |
99 | 99 | |
100 | 100 | $manager->saveItem( $item->setReason( $reason )->setStatus( 0 ) ); |
101 | - } |
|
102 | - catch( \Exception $e ) |
|
101 | + } catch( \Exception $e ) |
|
103 | 102 | { |
104 | 103 | $msg = 'Unable to process subscription with ID "%1$S": %2$s'; |
105 | 104 | $logger->log( sprintf( $msg, $item->getId(), $e->getMessage() ) ); |
@@ -127,8 +127,7 @@ discard block |
||
127 | 127 | { |
128 | 128 | $serviceProvider->processBatch( $orderItems ); |
129 | 129 | $orderManager->saveItems( $orderItems ); |
130 | - } |
|
131 | - catch( \Exception $e ) |
|
130 | + } catch( \Exception $e ) |
|
132 | 131 | { |
133 | 132 | $str = 'Error while processing order with ID "%1$s": %2$s'; |
134 | 133 | $context->getLogger()->log( sprintf( $str, $orderItem->getId(), $e->getMessage() ) ); |
@@ -138,8 +137,7 @@ discard block |
||
138 | 137 | $orderStart += $orderCount; |
139 | 138 | } |
140 | 139 | while( $orderCount >= $orderSearch->getSliceSize() ); |
141 | - } |
|
142 | - catch( \Exception $e ) |
|
140 | + } catch( \Exception $e ) |
|
143 | 141 | { |
144 | 142 | $str = 'Error while processing service with ID "%1$s": %2$s'; |
145 | 143 | $context->getLogger()->log( sprintf( $str, $serviceItem->getId(), $e->getMessage() ) ); |