File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/WebJobs.Script.Grpc/Channel Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1560,7 +1560,8 @@ public void Shutdown(Exception workerException)
15601560
15611561 if ( workerException is null || workerException is FunctionTimeoutException )
15621562 {
1563- shutdownException = new FunctionTimeoutAbortException ( workerException ? . Message ?? "Worker channel is shutting down. Aborting function." , workerException ) ;
1563+ string exceptionMessageSuffix = workerException ? . Message is not null ? " Reason: " + workerException . Message : string . Empty ;
1564+ shutdownException = new FunctionTimeoutAbortException ( "Worker channel is shutting down. Aborting function." + exceptionMessageSuffix , workerException ) ;
15641565 }
15651566
15661567 foreach ( var invocation in _executingInvocations ? . Values )
You can’t perform that action at this time.
0 commit comments