@@ -37,8 +37,7 @@ |
||
| 37 | 37 | try |
| 38 | 38 | { |
| 39 | 39 | $processResult = $this->workerContext->getWorker()->process($message); |
| 40 | - } |
|
| 41 | - catch(\Exception $exception) |
|
| 40 | + } catch(\Exception $exception) |
|
| 42 | 41 | { |
| 43 | 42 | $this->onWorkerProcessed(); |
| 44 | 43 | |
@@ -42,8 +42,7 @@ |
||
| 42 | 42 | { |
| 43 | 43 | $comment = sprintf('List of worker with following pattern: %s', $workerNamePattern); |
| 44 | 44 | $services = $this->workerProvider->listWithRegexFilter($workerNamePattern); |
| 45 | - } |
|
| 46 | - else |
|
| 45 | + } else |
|
| 47 | 46 | { |
| 48 | 47 | $comment = 'List of all workers'; |
| 49 | 48 | $services = $this->workerProvider->listAll(); |
@@ -60,8 +60,7 @@ discard block |
||
| 60 | 60 | try |
| 61 | 61 | { |
| 62 | 62 | $ex = $this->getExchange($exchangeName); |
| 63 | - } |
|
| 64 | - catch (\Exception $e) |
|
| 63 | + } catch (\Exception $e) |
|
| 65 | 64 | { |
| 66 | 65 | $this->logMessage($exchangeName, $message); |
| 67 | 66 | |
@@ -93,8 +92,7 @@ discard block |
||
| 93 | 92 | $message->getFlags(), |
| 94 | 93 | $message->packAttributes() |
| 95 | 94 | ); |
| 96 | - } |
|
| 97 | - catch (\Exception $e) |
|
| 95 | + } catch (\Exception $e) |
|
| 98 | 96 | { |
| 99 | 97 | $this->logMessage($ex->getName(), $message); |
| 100 | 98 | |