-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't working
Description
OperationCanceledExceptions should not trigger a log
{
"location": "scenes/partyMerger/partyMerger-default#0",
"context": {
"template": "partyMerger",
"sceneId": "partyMerger-default",
"shardId": 0
},
"message": "An exception occurred while executing action 'PartyMerger.GetStatus' in controller 'PartyMergerController'.",
"data": {
"type": "AggregateException",
"message": "One or more errors occurred. (A task was canceled.)",
"frames": [
" at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)",
" at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)",
" at Stormancer.Server.Plugins.API.ControllerFactory`1.ApiHelpers.<>c.<CompleteReadS2SArgs>b__16_0(Task`1 t) in /_/src/Stormancer.Plugins/Api/Stormancer.Server.Plugins.Api/IControllerFactory.cs:line 762",
" at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()",
" at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)",
"--- End of stack trace from previous location ---",
" at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)",
" at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)",
"--- End of stack trace from previous location ---",
" at Stormancer.Server.Plugins.API.ControllerFactory`1.ApiHelpers.ExecuteActionAndSendResultS2S[TReturn](T controller, IS2SRequestContext ctx, IDependencyResolver resolver, Func`3 readArguments, Func`4 executeControllerActionFunction, Func`4 sendResultAction) in /_/src/Stormancer.Plugins/Api/Stormancer.Server.Plugins.Api/IControllerFactory.cs:line 880",
" at Stormancer.Server.Plugins.API.ControllerFactory`1.ExecuteS2SRequest(ApiCallContext`1 ctx, Func`4 action) in /_/src/Stormancer.Plugins/Api/Stormancer.Server.Plugins.Api/IControllerFactory.cs:line 270"
],
"innerExceptions": [
{
"type": "TaskCanceledException",
"message": "A task was canceled.",
"frames": [
" at System.Threading.Tasks.Task.GetExceptions(Boolean includeTaskCanceledExceptions)",
" at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)",
" at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)",
" at Stormancer.Server.Plugins.API.ControllerFactory`1.ApiHelpers.<>c.<CompleteReadS2SArgs>b__16_0(Task`1 t) in /_/src/Stormancer.Plugins/Api/Stormancer.Server.Plugins.Api/IControllerFactory.cs:line 762",
" at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()",
" at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)",
" at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)",
" at System.Threading.ThreadPoolWorkQueue.Dispatch()",
" at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()",
"--- End of stack trace from previous location ---"
],
"innerExceptions": []
}
]
}
}```
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working