[Exceptions] Fix GitHub query labels for bug reports

All bug reports now use the Bridge-Broken label by default
This commit is contained in:
logmanoriginal 2019-06-01 22:32:41 +02:00
parent ed539bacf9
commit 468d8be72d

View file

@ -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
@ -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>!";