Update TaskController.cs #738
Annotations
12 warnings
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
TaskEngine/Tasks/RabbitMQTask.cs#L61
Modify 'Publish' to catch a more specific allowed exception type, or rethrow the exception.
|
TaskEngine/Tasks/DownloadPlaylistInfoTask.cs#L54
Modify 'OnConsume' to catch a more specific allowed exception type, or rethrow the exception.
|
TaskEngine/Tasks/RabbitMQTask.cs#L101
Modify 'Consume' to catch a more specific allowed exception type, or rethrow the exception.
|
TaskEngine/Tasks/CleanUpElasticIndexTask.cs#L96
Modify 'OnConsume' to catch a more specific allowed exception type, or rethrow the exception.
|
TaskEngine/Tasks/DownloadMediaTask.cs#L172
Modify 'DownloadKalturaVideo' to catch a more specific allowed exception type, or rethrow the exception.
|
TaskEngine/Tasks/DownloadMediaTask.cs#L291
Modify 'DownloadLocalPlaylist' to catch a more specific allowed exception type, or rethrow the exception.
|
ClassTranscribeServer/Program.cs#L26
The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'Program.CreateWebHostBuilder(string[])' with a call to 'string.ToLower(CultureInfo)'.
|
ClassTranscribeServer/Controllers/TaskController.cs#L49
In externally visible method 'Task<ActionResult> TaskController.UpdateSceneData(string videoId, JObject scene)', validate parameter 'scene' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument.
|
ClassTranscribeServer/Controllers/TaskController.cs#L161
In externally visible method 'Task<ActionResult> TaskController.UpdatePhraseHints(string videoId, PhraseHintsDTO phraseHintsDTO)', validate parameter 'phraseHintsDTO' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument.
|
ClassTranscribeServer/Controllers/TaskController.cs#L184
In externally visible method 'Task<ActionResult> TaskController.UpdateGlossary(string videoId, JObject glossary)', validate parameter 'glossary' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument.
|
|
The logs for this run have expired and are no longer available.
Loading