this.logPrefix = logPrefix
}
- protected handleDBError (
+ protected handleDBStorageError (
type: StorageType,
error: Error,
table?: string,
consoleOut: false
}
): void {
- setDefaultErrorParams(params, { throwError: false, consoleOut: false })
+ params = setDefaultErrorParams(params, { throwError: false, consoleOut: false })
const inTableOrCollectionStr = table != null && ` in table or collection '${table}'`
logger.error(
`${this.logPrefix} ${this.getDBNameFromStorageType(type)} error '${