Improved logging for import errors
This commit is contained in:
parent
c8c0ffeb0d
commit
5caa9c5687
6 changed files with 44 additions and 24 deletions
|
|
@ -18,7 +18,7 @@ namespace DataLayer
|
|||
public class Category
|
||||
{
|
||||
// Empty is a special case. use private ctor w/o validation
|
||||
public static Category GetEmpty() => new Category { CategoryId = -1, AudibleCategoryId = "", Name = "" };
|
||||
public static Category GetEmpty() => new() { CategoryId = -1, AudibleCategoryId = "", Name = "" };
|
||||
|
||||
internal int CategoryId { get; private set; }
|
||||
public string AudibleCategoryId { get; private set; }
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ namespace DataLayer
|
|||
public class Contributor
|
||||
{
|
||||
// Empty is a special case. use private ctor w/o validation
|
||||
public static Contributor GetEmpty() => new Contributor { ContributorId = -1, Name = "" };
|
||||
public static Contributor GetEmpty() => new() { ContributorId = -1, Name = "" };
|
||||
|
||||
// contributors search links are just name with url-encoding. space can be + or %20
|
||||
// author search link: /search?searchAuthor=Robert+Bevan
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue