@things-factory/aws-base 5.0.0-alpha.21 → 5.0.0-alpha.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -72,7 +72,7 @@ class AthenaController {
|
|
|
72
72
|
this.queryPaginationInfo.QueryExecutionId = (queryResult === null || queryResult === void 0 ? void 0 : queryResult.QueryExecutionId) || '';
|
|
73
73
|
}
|
|
74
74
|
catch (error) {
|
|
75
|
-
|
|
75
|
+
env_1.logger.error(error);
|
|
76
76
|
}
|
|
77
77
|
return queryResult;
|
|
78
78
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"athena-controller.js","sourceRoot":"","sources":["../../server/controllers/athena-controller.ts"],"names":[],"mappings":";;;;;;AAAA,mDAA8C;AAC9C,sDAAyB;AAEzB,
|
|
1
|
+
{"version":3,"file":"athena-controller.js","sourceRoot":"","sources":["../../server/controllers/athena-controller.ts"],"names":[],"mappings":";;;;;;AAAA,mDAA8C;AAC9C,sDAAyB;AAEzB,6CAAoD;AAEpD,sBAAsB;AACtB;;;;;;;;;;;EAWE;AACF,6EAA6E;AAC7E,6CAA6C;AAC7C,MAAM,YAAY,GAAG,YAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAA;AAC7C,MAAM,cAAc,GAAG;IACrB,MAAM,EAAE,YAAY,CAAC,MAAM;IAC3B,WAAW,EAAE,YAAY,CAAC,WAAW;IACrC,eAAe,EAAE,YAAY,CAAC,eAAe;CAC9C,CAAA;AACD,iBAAG,CAAC,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,CAAA;AAEjC,MAAa,gBAAgB;IAO3B;QALQ,wBAAmB,GAAG;YAC5B,SAAS,EAAE,EAAE;YACb,gBAAgB,EAAE,EAAE;SACrB,CAAA;QAGC,6EAA6E;QAC7E,6CAA6C;QAC7C,IAAI,mBAAmB,mBACrB,GAAG,EAAE,iBAAG,IACL,YAAY,CAAC,OAAO,CACx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2
2
|
"name": "@things-factory/aws-base",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.22",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"things-factory": true,
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@things-factory/shell": "^5.0.0-alpha.
|
|
26
|
+
"@things-factory/shell": "^5.0.0-alpha.22",
|
|
27
27
|
"athena-express": "^7.1.4",
|
|
28
28
|
"aws-sdk": "^2.1096.0"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "8e06de9c59237f1800b2ff4f1c53162a0228342a"
|
|
31
31
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AthenaExpress } from 'athena-express'
|
|
2
2
|
import AWS from 'aws-sdk'
|
|
3
3
|
|
|
4
|
-
import { config } from '@things-factory/env'
|
|
4
|
+
import { config, logger } from '@things-factory/env'
|
|
5
5
|
|
|
6
6
|
// athenaconfig sample
|
|
7
7
|
/*
|
|
@@ -83,9 +83,9 @@ export class AthenaController {
|
|
|
83
83
|
this.queryPaginationInfo.NextToken = queryResult?.NextToken || ''
|
|
84
84
|
this.queryPaginationInfo.QueryExecutionId = queryResult?.QueryExecutionId || ''
|
|
85
85
|
} catch (error) {
|
|
86
|
-
|
|
86
|
+
logger.error(error)
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
return queryResult
|
|
90
90
|
}
|
|
91
|
-
}
|
|
91
|
+
}
|