Feature/Improve error logs for timeout in data provider services (#2953)
* Improve error logs for timeout in data provider services
* Update changelog
---------
Co-authored-by: Thomas Kaul <4159106+dtslvr@users.noreply.github.com>
@ -80,7 +80,7 @@ export class CoinGeckoService implements DataProviderInterface {
letmessage=error;
if(error?.code==='ABORT_ERR'){
message=`RequestError: The operation was aborted because the request to the data provider took more than ${this.configurationService.get(
message=`RequestError: The operation to get the asset profile for ${aSymbol}was aborted because the request to the data provider took more than ${this.configurationService.get(
'REQUEST_TIMEOUT'
)}ms`;
}
@ -195,7 +195,7 @@ export class CoinGeckoService implements DataProviderInterface {
letmessage=error;
if(error?.code==='ABORT_ERR'){
message=`RequestError: The operation was aborted because the request to the data provider took more than ${this.configurationService.get(
message=`RequestError: The operation to get the quotes was aborted because the request to the data provider took more than ${this.configurationService.get(
'REQUEST_TIMEOUT'
)}ms`;
}
@ -242,7 +242,7 @@ export class CoinGeckoService implements DataProviderInterface {
letmessage=error;
if(error?.code==='ABORT_ERR'){
message=`RequestError: The operation was aborted because the request to the data provider took more than ${this.configurationService.get(
message=`RequestError: The operation to search for ${query}was aborted because the request to the data provider took more than ${this.configurationService.get(
@ -271,7 +271,7 @@ export class EodHistoricalDataService implements DataProviderInterface {
letmessage=error;
if(error?.code==='ABORT_ERR'){
message=`RequestError: The operation was aborted because the request to the data provider took more than ${this.configurationService.get(
message=`RequestError: The operation to get the quotes was aborted because the request to the data provider took more than ${this.configurationService.get(
'REQUEST_TIMEOUT'
)}ms`;
}
@ -423,7 +423,7 @@ export class EodHistoricalDataService implements DataProviderInterface {
letmessage=error;
if(error?.code==='ABORT_ERR'){
message=`RequestError: The operation was aborted because the request to the data provider took more than ${this.configurationService.get(
message=`RequestError: The operation to search for ${aQuery}was aborted because the request to the data provider took more than ${this.configurationService.get(
@ -143,7 +143,7 @@ export class FinancialModelingPrepService implements DataProviderInterface {
letmessage=error;
if(error?.code==='ABORT_ERR'){
message=`RequestError: The operation was aborted because the request to the data provider took more than ${this.configurationService.get(
message=`RequestError: The operation to get the quotes was aborted because the request to the data provider took more than ${this.configurationService.get(
'REQUEST_TIMEOUT'
)}ms`;
}
@ -192,7 +192,7 @@ export class FinancialModelingPrepService implements DataProviderInterface {
letmessage=error;
if(error?.code==='ABORT_ERR'){
message=`RequestError: The operation was aborted because the request to the data provider took more than ${this.configurationService.get(
message=`RequestError: The operation to search for ${query}was aborted because the request to the data provider took more than ${this.configurationService.get(