diff --git a/workbench/backend/src/app/query/query.controller.ts b/workbench/backend/src/app/query/query.controller.ts index c3ea474..f033c8d 100644 --- a/workbench/backend/src/app/query/query.controller.ts +++ b/workbench/backend/src/app/query/query.controller.ts @@ -19,7 +19,7 @@ export class QueryController { const coreApiClient = this.factory.fromContext(ctx); const all_dto_versions = this.factory.ALL_DTO_VERSIONS - delete all_dto_versions["CrowdExecutionRecord"] + delete all_dto_versions["CrowdExecutionRecord"] // TODO remove this line after fsm-sdk has been updated const dto_names = Object.keys(all_dto_versions) as DTOName[] @@ -39,7 +39,7 @@ export class QueryController { return this.query(ctx, { query: `SELECT it.tag, it.person FROM Skill it WHERE it.tag = '${tag.id}' LIMIT 500` }) .then((resp: QueryResponse<{ it: { person: string } }>) => ({ ...tag, persons: resp.data.map(({ it }) => it.person) })) .catch(error => { - console.debug(error) + console.error("List of Tags could not be collected due to: ", error) return { ...tag, persons: [] }; }); }); diff --git a/workbench/frontend/src/app/common/services/query.service.ts b/workbench/frontend/src/app/common/services/query.service.ts index 2f3f0fa..506d38d 100644 --- a/workbench/frontend/src/app/common/services/query.service.ts +++ b/workbench/frontend/src/app/common/services/query.service.ts @@ -98,7 +98,6 @@ export class QueryService { // tslint:disable-next-line:max-line-length private _query, T_ITEM extends {}>(query: string): Observable extends ObservableInput ? T : never> { - // console.debug(query); return this.auth.globalContextWithAuth$.pipe( mergeMap(ctx => this.http.post(`${this.config.getApiUri()}/query`, { query }, { headers: this.getHeaders(ctx) })) );