File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " strontium" ,
3
- "version" : " 2.4.15 " ,
3
+ "version" : " 2.4.16 " ,
4
4
"description" : " Strontium is a TypeScript toolkit for High Performance API servers built for Production not Projects." ,
5
5
"main" : " lib/src/index.js" ,
6
6
"types" : " lib/src/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -41,6 +41,10 @@ export class GCPSConsumer implements Process {
41
41
// Start the process
42
42
this . isEnabled = true
43
43
44
+ if ( container . isBound ( Logger ) ) {
45
+ this . logger = container . get ( Logger )
46
+ }
47
+
44
48
// Fetch the subscription configuration
45
49
let subscription = await this . client . getSubscriptionData (
46
50
this . subscriptionName
@@ -130,9 +134,6 @@ export class GCPSConsumer implements Process {
130
134
} )
131
135
132
136
requestContainer . parent = applicationContainer
133
- if ( requestContainer . isBound ( Logger ) ) {
134
- this . logger = requestContainer . get ( Logger )
135
- }
136
137
137
138
// Spawn a handler for the Task type
138
139
let handlerType = this . taskHandlers [ task . eventName ]
You can’t perform that action at this time.
0 commit comments