File tree Expand file tree Collapse file tree 4 files changed +6
-3
lines changed
redisinsight/api/src/modules Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ export class KeysService {
82
82
} catch ( error ) {
83
83
this . logger . error (
84
84
`Failed to get keys with details info. ${ error . message } .` ,
85
+ error ,
85
86
clientMetadata ,
86
87
) ;
87
88
if (
@@ -129,6 +130,7 @@ export class KeysService {
129
130
} catch ( error ) {
130
131
this . logger . error (
131
132
`Failed to get keys info: ${ error . message } .` ,
133
+ error ,
132
134
clientMetadata ,
133
135
) ;
134
136
throw catchAclError ( error ) ;
Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ export class CreateFreeDatabaseCloudJob extends CloudJob {
171
171
this . dependencies . bulkImportService . importDefaultData ( clientMetadata ) ;
172
172
}
173
173
} catch ( e ) {
174
- this . logger . error ( 'Error when trying to feed the db with default data' ) ;
174
+ this . logger . error ( 'Error when trying to feed the db with default data' , e ) ;
175
175
}
176
176
177
177
this . result = {
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ export class RdiService {
131
131
} catch ( error ) {
132
132
this . logger . error (
133
133
`Failed to delete instance(s): ${ ids } ` ,
134
- error . message ,
134
+ error ,
135
135
sessionMetadata ,
136
136
) ;
137
137
this . analytics . sendRdiInstanceDeleted (
@@ -153,6 +153,7 @@ export class RdiService {
153
153
} catch ( error ) {
154
154
this . logger . error (
155
155
`Failed to connect to rdi instance ${ rdiClientMetadata . id } ` ,
156
+ error ,
156
157
rdiClientMetadata ,
157
158
) ;
158
159
throw wrapRdiPipelineError ( error ) ;
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ export class SettingsService {
209
209
return `${ isEncryptionAvailable } ` ;
210
210
}
211
211
} catch ( e ) {
212
- this . logger . error ( `Unable to proceed agreements checker ${ checker } ` ) ;
212
+ this . logger . error ( `Unable to proceed agreements checker ${ checker } ` , e ) ;
213
213
}
214
214
215
215
return defaultOption ;
You can’t perform that action at this time.
0 commit comments