Skip to content

Commit

Permalink
[Exceptions] Fix GitHub query labels for bug reports
Browse files Browse the repository at this point in the history
All bug reports now use the Bridge-Broken label by default
  • Loading branch information
logmanoriginal committed Jun 1, 2019
1 parent ed539ba commit 468d8be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Exceptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function buildBridgeException($e, $bridge){
. '`';

$body_html = nl2br($body);
$link = buildGitHubIssueQuery($title, $body, 'bug report', $bridge->getMaintainer());
$link = buildGitHubIssueQuery($title, $body, 'Bridge-Broken', $bridge->getMaintainer());

$header = buildHeader($e, $bridge);
$message = <<<EOD
Expand Down Expand Up @@ -119,7 +119,7 @@ function buildTransformException($e, $bridge){
. (isset($_SERVER['QUERY_STRING']) ? $_SERVER['QUERY_STRING'] : '')
. '`';

$link = buildGitHubIssueQuery($title, $body, 'bug report', $bridge->getMaintainer());
$link = buildGitHubIssueQuery($title, $body, 'Bridge-Broken', $bridge->getMaintainer());
$header = buildHeader($e, $bridge);
$message = "RSS-Bridge was unable to transform the contents returned by
<strong>{$bridge->getName()}</strong>!";
Expand Down

0 comments on commit 468d8be

Please sign in to comment.