Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Notifier] Add Chatwork Notifier Bridge#47373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
| try { | ||
| $statusCode = $response->getStatusCode(); | ||
| } catch (TransportExceptionInterface $e) { | ||
| throw new TransportException('Could not reach the remote Discord server.', $response, 0, $e); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
| thrownewTransportException('Could not reach the remoteDiscord server.',$response,0,$e); | |
| thrownewTransportException('Could not reach the remoteChatwork server.',$response,0,$e); |
| $originalContent = $message->getSubject(); | ||
| $result = $response->toArray(false); | ||
| $errors = $result['errors']; | ||
| throw new TransportException(sprintf('Unable to post the Chatwork message: "%s" (%d: "%s").', $originalContent, $statusCode, implode(', ', $errors)), $response); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
| thrownewTransportException(sprintf('Unable to post the Chatwork message: "%s" (%d:"%s").',$originalContent,$statusCode,implode(',',$errors)),$response); | |
| thrownewTransportException(sprintf('Unable to post the Chatwork message: "%s" (%d:%s).',$originalContent,$statusCode,implode(',',$errors)),$response); |
If you received an error from fabbot here, that's a false positive.
| @@ -0,0 +1,19 @@ | |||
| Chatwork Notifier | |||
| =============== | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
| =============== | |
| ================= |
Ippey commentedAug 26, 2022
@fabpot Thank you, I applied those suggestions. |
fabpot commentedAug 26, 2022
571eda6 to6dcab51Comparefabpot commentedAug 26, 2022
Thank you@Ippey. |
Ippey commentedAug 26, 2022
@fabpot Created PR. |
Add Chatwork Notifier Bridge.
Chatwork is one of the popular chat tools in Japan.
This bridge allows sending messages to Chatwork viaChatwork API.