Skip to content

Commit

Permalink
AXON-137: add logger
Browse files Browse the repository at this point in the history
  • Loading branch information
cabella-dot committed Feb 26, 2025
1 parent 19df2d4 commit 48e7c75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/jira/customJqlExplorer/customJqlViewProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { CONFIGURE_JQL_STRING, CUSTOM_JQL_VIEW_PROVIDER_ID } from './constants';
import { MinimalORIssueLink } from '@atlassianlabs/jira-pi-common-models';
import { Disposable, window } from 'vscode';
import { SearchJiraIssuesNode } from '../searchJiraIssueNode';
import { Logger } from '../../../logger';

const searchJiraIssuesNode = new SearchJiraIssuesNode();

Expand Down Expand Up @@ -71,7 +72,7 @@ export class CustomJQLViewProvider extends BaseTreeDataProvider {
this._jqlEntries.map(async (jql: JQLEntry) => {
const childTree = new CustomJQLTree(jql);
const flattenedIssueList = await childTree.executeQuery().catch((e) => {
// Logger.error(new Error(`Error executing JQL: ${e}`));
Logger.error(new Error(`Error executing JQL: ${e}`));
return [];
});
childTree.setNumIssues(flattenedIssueList.length);
Expand Down

0 comments on commit 48e7c75

Please sign in to comment.