# Discourse-official-slack: no error message after failed post to slack

**URL:** https://meta.discourse.org/t/discourse-official-slack-no-error-message-after-failed-post-to-slack/69421
**Category:** Bug
**Created:** [05.Сентябрь.2017 18:49:43 UTC](https://meta.discourse.org/t/discourse-official-slack-no-error-message-after-failed-post-to-slack/69421 "2017-09-05T18:49:43Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [05.Сентябрь.2017 18:49:43 UTC](https://meta.discourse.org/t/discourse-official-slack-no-error-message-after-failed-post-to-slack/69421/1 "2017-09-05T18:49:43Z")

</div>

While investigating a (probably) unrelated problem I noticed that the slack plugin does not post any kind of message to the error logs (`https://site/logs`) if the slack notification fails.

Tested by setting an invalid `slack outbound webhook url` on a site and posting a new topic as well as pressing ‘Test Notifications’.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [05.Сентябрь.2017 18:57:48 UTC](https://meta.discourse.org/t/discourse-official-slack-no-error-message-after-failed-post-to-slack/69421/2 "2017-09-05T18:57:48Z")

</div>

This is one of the things I fixed with `discourse-chat-integration`, which hopefully will be replacing the slack plugin very soon - it writes errors to the site logs, and shows them in the admin interface next to the associated “channel” as well.

> [@Discourse Chat Integrations](https://meta.discourse.org/t/chatroom-integration-plugin-discourse-chat-integration/66522):
>
> information_source Chat Integration is for using an external chat system together with Discourse — you may be looking for [Discourse Chat](https://meta.discourse.org/t/discourse-chat/230881) which adds Chat functionality directly to Discourse. discourse2Summaryopen_bookInstall Guide The Discourse Chat Integration plugin lets you send messages in your preferred chat platform when something happens in Discourse. Messages can be triggered by: New topics New replies Messages to a group Mentions of a group Functio…

For example:

 ![51](https://global.discourse-cdn.com/meta/original/3X/c/9/c9fa634a1f4291b40a5b1393ba4e444abe286d42.png)

 ![58](https://global.discourse-cdn.com/meta/original/3X/1/c/1cda6588bd48b5530985abae561ca01b00f567b3.png)

---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [05.Сентябрь.2017 19:08:14 UTC](https://meta.discourse.org/t/discourse-official-slack-no-error-message-after-failed-post-to-slack/69421/3 "2017-09-05T19:08:14Z")

</div>

Nice, can’t wait for this!

FWIW, I also discovered that the existing ‘Test Notification’ button is a gamble - it isn’t guaranteed to send out a notification. It only does if the post it randomly selects matches the filters.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [05.Сентябрь.2017 19:10:38 UTC](https://meta.discourse.org/t/discourse-official-slack-no-error-message-after-failed-post-to-slack/69421/4 "2017-09-05T19:10:38Z")

</div>

> [@supermathie](#):
>
> FWIW, I also discovered that the existing ‘Test Notification’ button is a gamble

Yep, that’s another thing that’s fixed. discourse-chat-integration allows the user to select a specific topic to send, so there’s no chance of it trying to send a PM, and then failing 😃

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [06.Сентябрь.2017 00:09:20 UTC](https://meta.discourse.org/t/discourse-official-slack-no-error-message-after-failed-post-to-slack/69421/5 "2017-09-06T00:09:20Z")

</div>


