gitlabhq/gitlabhq — pull request #7393 by Razer6 (2014-07-29 09:52:57+00:00)
Title: Prevent 500 if hook url is down, fixes #7376

#### What does this MR do?

This PR catches errors if the target webhook url is not down. If so, an error message is displayed at the bottom of the page.

#### Why was this MR needed?

Currently, if the user adds a webhook URL which is down, a 500 error is raised when pressing the `Test Hook` button.

What are the relevant issue numbers / Feature requests?

This PR fixes #7376