Update UniversalExtensions.cs
This commit is contained in:
parent
6031bb3f00
commit
a2c3c85161
1 changed files with 1 additions and 1 deletions
|
|
@ -339,7 +339,7 @@ public static class UniversalExtensions
|
|||
public static void DeleteScheduleTask(string UID)
|
||||
{
|
||||
if (!registeredScheduledTasks.ContainsKey(UID))
|
||||
throw new Exception($"No sheduled task has been found with UID '{UID}'");
|
||||
throw new Exception($"No scheduled task has been found with UID '{UID}'");
|
||||
|
||||
if (registeredScheduledTasks[ UID ].tokenSource is null)
|
||||
throw new Exception($"Internal: There is no token source registered the specified task.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue