Infinite loop on unavailable chapters
This commit is contained in:
parent
a1202a875d
commit
6d5618a1f7
@ -101,6 +101,10 @@ public abstract class TrangaTask
|
||||
{
|
||||
this.lastExecuted = DateTime.Now;
|
||||
this.state = ExecutionState.Success;
|
||||
}else if (statusCode is HttpStatusCode.NotFound)
|
||||
{
|
||||
this.state = ExecutionState.Waiting;
|
||||
this.lastExecuted = DateTime.MaxValue;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user