Skip to content

Commit

Permalink
fix: testing addi
Browse files Browse the repository at this point in the history
  • Loading branch information
jaybeeelsdon committed Apr 24, 2024
1 parent 6d1beca commit 27352e6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/DARE-FrontEnd/Controllers/SubmissionController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,10 @@ public IActionResult AddExecutors(string image, string command)
[HttpPost]
public async Task<ActionResult> AddiSubmissionWizard(AddiSubmissionWizard model, string Executors, string TreData,string selectedTre)
{
try
{


var listOfTre = "";

var paramlist = new Dictionary<string, string>();
Expand Down Expand Up @@ -344,6 +348,12 @@ public async Task<ActionResult> AddiSubmissionWizard(AddiSubmissionWizard model,
var result = await _clientHelper.CallAPI<TesTask, TesTask?>("/v1/tasks", test);

return RedirectToAction("GetProject", "Project", new { id = model.ProjectId });
}
catch (Exception e)
{
Log.Error(e, "{Function} Boom crash", "AddiSubmissionWizard");
throw;
}
}
}
}

0 comments on commit 27352e6

Please sign in to comment.