From 27352e6614dea16a541be2b491564e7b41df1873 Mon Sep 17 00:00:00 2001 From: jaybeeelsdon Date: Wed, 24 Apr 2024 14:03:10 +0100 Subject: [PATCH] fix: testing addi --- src/DARE-FrontEnd/Controllers/SubmissionController.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/DARE-FrontEnd/Controllers/SubmissionController.cs b/src/DARE-FrontEnd/Controllers/SubmissionController.cs index 984b485ec..8fbb11460 100644 --- a/src/DARE-FrontEnd/Controllers/SubmissionController.cs +++ b/src/DARE-FrontEnd/Controllers/SubmissionController.cs @@ -209,6 +209,10 @@ public IActionResult AddExecutors(string image, string command) [HttpPost] public async Task AddiSubmissionWizard(AddiSubmissionWizard model, string Executors, string TreData,string selectedTre) { + try + { + + var listOfTre = ""; var paramlist = new Dictionary(); @@ -344,6 +348,12 @@ public async Task AddiSubmissionWizard(AddiSubmissionWizard model, var result = await _clientHelper.CallAPI("/v1/tasks", test); return RedirectToAction("GetProject", "Project", new { id = model.ProjectId }); + } + catch (Exception e) + { + Log.Error(e, "{Function} Boom crash", "AddiSubmissionWizard"); + throw; + } } } }