Skip to content

Commit 8646587

Browse files
authored
Merge pull request #1 from ssaifriend/fix/no_throw_success_message
No throw Exception if message is 'Success'
2 parents f06cfb8 + 78a3f71 commit 8646587

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Binlog/Collector/Application/BinlogCollectorApplication.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,10 @@ private function executeChildProcess(
163163
$this->logger->info($e->getMessage());
164164
exit();
165165
} catch (\Exception $exception) {
166-
$this->logger->info("child_index({$child_index} : exception({$exception->getMessage()})");
167-
$this->binlog_configuration->exception_handler->triggerException($exception);
166+
if ($exception->getMessage() !== 'Success') {
167+
$this->logger->info("child_index({$child_index} : exception({$exception->getMessage()})");
168+
$this->binlog_configuration->exception_handler->triggerException($exception);
169+
}
168170
exit();
169171
}
170172
exit();

0 commit comments

Comments
 (0)