Skip to content

Commit ccafda3

Browse files
committed
Fix invalid method call + improve exception message
1 parent 8a93c4c commit ccafda3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Notifier/Bridge/Pushover/PushoverTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ protected function doSend(MessageInterface $message): SentMessage
7777
$result = $response->toArray(false);
7878

7979
if (!isset($result['request'])) {
80-
throw new TransportException(sprintf('Unable to send the Pushover push notification: "%s".', $result->getContent(false)), $response);
80+
throw new TransportException(sprintf('Unable to find the message id within the Pushover response: "%s".', $response->getContent(false)), $response);
8181
}
8282

8383
$sentMessage = new SentMessage($message, (string) $this);

0 commit comments

Comments
 (0)