diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index f62c600..c4fc8c9 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@apiclient.xyz/elasticsearch', - version: '2.0.9', + version: '2.0.10', description: 'log to elasticsearch in a kibana compatible format' } diff --git a/ts/els.classes.smartlogdestination.ts b/ts/els.classes.smartlogdestination.ts index c562e76..3e3b929 100644 --- a/ts/els.classes.smartlogdestination.ts +++ b/ts/els.classes.smartlogdestination.ts @@ -68,7 +68,7 @@ export class ElsSmartlogDestination { get logDestination(): ILogDestination { return { handleLog: async (smartlogPackageArg: ILogPackage) => { - this.log(smartlogPackageArg); + await this.log(smartlogPackageArg); }, }; }