diff options
author | crupest <crupest@outlook.com> | 2020-03-05 23:27:41 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-03-05 23:27:41 +0800 |
commit | a48bc5842e83f72faf48cad46acca678ed5b0863 (patch) | |
tree | 1c72a605e8c12bd05a777653c8b7dfb4b13863f2 /Timeline/Services/DataManager.cs | |
parent | 7ebcea665bcca774428408fc32730505f4a06142 (diff) | |
download | timeline-a48bc5842e83f72faf48cad46acca678ed5b0863.tar.gz timeline-a48bc5842e83f72faf48cad46acca678ed5b0863.tar.bz2 timeline-a48bc5842e83f72faf48cad46acca678ed5b0863.zip |
Migrate avatar service. TODO: Migrate database.
Diffstat (limited to 'Timeline/Services/DataManager.cs')
-rw-r--r-- | Timeline/Services/DataManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Timeline/Services/DataManager.cs b/Timeline/Services/DataManager.cs index 66aa6f81..d6b8b6a4 100644 --- a/Timeline/Services/DataManager.cs +++ b/Timeline/Services/DataManager.cs @@ -115,7 +115,7 @@ namespace Timeline.Services var entity = await _database.Data.Where(d => d.Tag == tag).Select(d => new { d.Data }).SingleOrDefaultAsync();
if (entity == null)
- throw new InvalidOperationException("Entry with given tag does not exist.");
+ throw new InvalidOperationException(Resources.Services.DataManager.ExceptionEntryNotExist);
return entity.Data;
}
|