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 | a88ce6495185e7e63c5c1362c7e3f8660b89333d (patch) | |
tree | 1c72a605e8c12bd05a777653c8b7dfb4b13863f2 /Timeline/Services/DataManager.cs | |
parent | 57b29adef10dcefcacf255df05cf6bc11512caf2 (diff) | |
download | timeline-a88ce6495185e7e63c5c1362c7e3f8660b89333d.tar.gz timeline-a88ce6495185e7e63c5c1362c7e3f8660b89333d.tar.bz2 timeline-a88ce6495185e7e63c5c1362c7e3f8660b89333d.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;
}
|