We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23c3af9 commit 894cafcCopy full SHA for 894cafc
src/service/GrafanaService.js
@@ -320,10 +320,10 @@ class GrafanaService {
320
try {
321
const result = await this.client.get(url);
322
return result;
323
- } catch {
+ } catch (err) {
324
let errorTitle = query ? 'Error while searching dashboards' : 'Error while listing dashboards';
325
errorTitle += `, URL: ${url}`;
326
- this.logger.error(err, errorTitle);
+ this.logger.error({ err, errorTitle });
327
return null;
328
}
329
0 commit comments