Fix Backups (#750)
* Fixed an issue where backups were failing due to files being in config directory * Changed up the exception messages to be more clear when a unique constraint fails on adding a new series. * Added the actual index that is causing the conflict.
This commit is contained in:
parent
a24ca2b46b
commit
ae5c6594e4
3 changed files with 18 additions and 24 deletions
|
|
@ -22,6 +22,7 @@ namespace API.Services
|
|||
public static readonly string CoverImageDirectory = Path.Join(Directory.GetCurrentDirectory(), "config", "covers");
|
||||
public static readonly string BackupDirectory = Path.Join(Directory.GetCurrentDirectory(), "config", "backups");
|
||||
public static readonly string StatsDirectory = Path.Join(Directory.GetCurrentDirectory(), "config", "stats");
|
||||
public static readonly string ConfigDirectory = Path.Join(Directory.GetCurrentDirectory(), "config");
|
||||
|
||||
public DirectoryService(ILogger<DirectoryService> logger)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue