mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-03-14 20:21:14 +03:00
feat: include os and php version in github issue body (#2948)
This commit is contained in:
parent
ecb486794b
commit
3984427f44
1 changed files with 3 additions and 1 deletions
|
@ -230,11 +230,13 @@ class DisplayAction implements ActionInterface
|
|||
return sprintf('https://github.com/RSS-Bridge/rss-bridge/issues/new?%s', http_build_query([
|
||||
'title' => sprintf('%s failed with error %s', $bridge->getName(), $e->getCode()),
|
||||
'body' => sprintf(
|
||||
"```\n%s\n\n%s\n\nQuery string:%s\nVersion:%s\n```",
|
||||
"```\n%s\n\n%s\n\nQuery string:%s\nVersion:%s\nOs:%s\nPHP version:%s\n```",
|
||||
$message,
|
||||
implode("\n", create_sane_stacktrace($e)),
|
||||
$_SERVER['QUERY_STRING'] ?? '',
|
||||
Configuration::getVersion(),
|
||||
PHP_OS_FAMILY,
|
||||
phpversion() ?: 'Unknown'
|
||||
),
|
||||
'labels' => 'Bridge-Broken',
|
||||
'assignee' => $bridge->getMaintainer(),
|
||||
|
|
Loading…
Add table
Reference in a new issue