fix mistake of rethrowing exception (which loses call stack) to just throw (which does not)

This commit is contained in:
2020-09-21 18:54:30 +00:00
parent 632ea2e48e
commit 2193e36161
9 changed files with 10 additions and 10 deletions

View File

@@ -154,7 +154,7 @@ namespace AyaNova.Api.Controllers
}
else
{
throw ex;
throw;
}
}
@@ -223,7 +223,7 @@ namespace AyaNova.Api.Controllers
}
else
{
throw ex;
throw;
}
}