mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Plugins: Fix big query credentials and improve detailed report errors (#92373)
This commit is contained in:
committed by
GitHub
parent
116f29be74
commit
fa95eb8c02
@@ -79,7 +79,7 @@ function makeQuery(section) {
|
||||
}
|
||||
|
||||
return `
|
||||
SELECT
|
||||
SELECT DISTINCT
|
||||
property_name,
|
||||
package_name,
|
||||
plugin_id
|
||||
@@ -159,6 +159,12 @@ function printAffectedPluginsSection(data) {
|
||||
}
|
||||
} catch (error) {
|
||||
markdown += `<h4>Error generating detailed report ${error}</h4>`;
|
||||
if (error.stdout) {
|
||||
markdown += `<h5>Error stdout ${error.stdout}</h5>`;
|
||||
}
|
||||
if (error.stderr) {
|
||||
markdown += `<h5>Error stderr ${error.stderr}</h5>`;
|
||||
}
|
||||
}
|
||||
|
||||
return markdown;
|
||||
|
||||
Reference in New Issue
Block a user