Skip to content

Commit 64399fa

Browse files
committed
Add errmsg
1 parent 41c7353 commit 64399fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Handler/PublishHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function handle(InputInterface $input, OutputInterface $output): int
4343
}
4444
$publish = $client->publish($topic, $message, $this->getQos(), $this->getDup(), $this->getRetain(), $this->getProperties('publish'));
4545
} catch (\Throwable $e) {
46-
$this->logError('Publish error');
46+
$this->logError("Publish error, {$e->getMessage()}");
4747
goto failure;
4848
}
4949

0 commit comments

Comments
 (0)