Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the key from the exception. #15810

Merged
merged 1 commit into from
Feb 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions framework/src/Volo.Abp.Uow/Volo/Abp/Uow/UnitOfWork.cs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public virtual void AddDatabaseApi(string key, IDatabaseApi api)

if (_databaseApis.ContainsKey(key))
{
throw new AbpException("There is already a database API in this unit of work with given key: " + key);
throw new AbpException("There is already a database API in this unit of work with given key.");
}

_databaseApis.Add(key, api);
Expand Down Expand Up @@ -221,7 +221,7 @@ public virtual void AddTransactionApi(string key, ITransactionApi api)

if (_transactionApis.ContainsKey(key))
{
throw new AbpException("There is already a transaction API in this unit of work with given key: " + key);
throw new AbpException("There is already a transaction API in this unit of work with given key.");
}

_transactionApis.Add(key, api);
Expand Down