Fix Stupid
This commit is contained in:
parent
697f797509
commit
7a9c6720c7
@ -72,8 +72,6 @@ namespace FileLiberator
|
|||||||
return new StatusHandler { "Cancelled" };
|
return new StatusHandler { "Cancelled" };
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
{
|
||||||
var realMp3Path
|
var realMp3Path
|
||||||
= FileUtility.SaferMoveToValidPath(
|
= FileUtility.SaferMoveToValidPath(
|
||||||
@ -85,12 +83,6 @@ namespace FileLiberator
|
|||||||
|
|
||||||
OnFileCreated(libraryBook, realMp3Path);
|
OnFileCreated(libraryBook, realMp3Path);
|
||||||
}
|
}
|
||||||
catch
|
|
||||||
{
|
|
||||||
return new StatusHandler { "Failed to move decrypted files to Books directory" };
|
|
||||||
throw;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -94,7 +94,6 @@ namespace FileLiberator
|
|||||||
//Only fail if the downloaded audio files failed to move to Books directory
|
//Only fail if the downloaded audio files failed to move to Books directory
|
||||||
if (moveFilesTask.IsFaulted)
|
if (moveFilesTask.IsFaulted)
|
||||||
{
|
{
|
||||||
return new StatusHandler { "Failed to move decrypted files to Books directory" };
|
|
||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user