forked from sim0n00ps/OF-DL
Re-throw OperationCanceledException in ApiService
This commit is contained in:
parent
e2db74743f
commit
1ee4ebe865
@ -196,6 +196,10 @@ public class ApiService(IAuthService authService, IConfigService configService,
|
||||
user = UserMapper.FromDto(userDto) ?? new UserEntities.User();
|
||||
return user;
|
||||
}
|
||||
catch (OperationCanceledException)
|
||||
{
|
||||
throw;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
ExceptionLoggerHelper.LogException(ex);
|
||||
@ -2620,6 +2624,10 @@ public class ApiService(IAuthService authService, IConfigService configService,
|
||||
|
||||
return purchasedTabCollections;
|
||||
}
|
||||
catch (OperationCanceledException)
|
||||
{
|
||||
throw;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
ExceptionLoggerHelper.LogException(ex);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user