File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
server/src/main/scala/app/softnetwork/api/server Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ trait ApiRoutes extends Directives with GrpcServices with DefaultComplete {
5757 }
5858 .result()
5959
60- val timeoutExceptionHandler : ExceptionHandler =
60+ val exceptionHandler : ExceptionHandler =
6161 ExceptionHandler { case e : TimeoutException =>
6262 extractUri { uri =>
6363 log.error(
@@ -71,7 +71,7 @@ trait ApiRoutes extends Directives with GrpcServices with DefaultComplete {
7171 final def mainRoutes : ActorSystem [_] => Route = system => {
7272 val routes = concat((HealthCheckService :: apiRoutes(system)).map(_.route): _* )
7373 handleRejections(rejectionHandler) {
74- handleExceptions(timeoutExceptionHandler ) {
74+ handleExceptions(exceptionHandler ) {
7575 logRequestResult(" RestAll" ) {
7676 pathPrefix(config.ServerSettings .RootPath ) {
7777 Try (
@@ -89,10 +89,10 @@ trait ApiRoutes extends Directives with GrpcServices with DefaultComplete {
8989 )
9090 )
9191 }
92- }
92+ } ~ grpcRoutes(system)
9393 }
9494 }
95- } ~ grpcRoutes(system)
95+ }
9696 }
9797
9898 def apiRoutes : ActorSystem [_] => List [ApiRoute ]
You can’t perform that action at this time.
0 commit comments