mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-31 22:00:23 +02:00
Add recuperation of the current version from git if available (#731)
* Add recuperation of the current version from git if available * Include version when auto-reporting an error
This commit is contained in:
@@ -64,7 +64,10 @@ function buildBridgeException($e, $bridge){
|
||||
$body = 'Error message: `'
|
||||
. $e->getMessage()
|
||||
. "`\nQuery string: `"
|
||||
. $_SERVER['QUERY_STRING'] . '`';
|
||||
. $_SERVER['QUERY_STRING']
|
||||
. "`\nVersion: `"
|
||||
. Configuration::getVersion()
|
||||
. '`';
|
||||
|
||||
$link = buildGitHubIssueQuery($title, $body, 'bug report', $bridge->getMaintainer());
|
||||
|
||||
|
Reference in New Issue
Block a user