Skip to content

Commit

Permalink
Change order values
Browse files Browse the repository at this point in the history
  • Loading branch information
Hank-Choi committed Mar 5, 2025
1 parent 15f4edf commit 6dbb05d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import org.springframework.web.server.WebExceptionHandler
import reactor.core.publisher.Mono
import reactor.netty.channel.AbortedException

@Order(-2)
@Order(1)
class TruffleWebExceptionHandler(private val hub: IHub) : WebExceptionHandler {
override fun handle(exchange: ServerWebExchange, ex: Throwable): Mono<Void> {
if (ex !is ResponseStatusException && ex !is AbortedException) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import org.springframework.web.server.ResponseStatusException
import org.springframework.web.servlet.HandlerExceptionResolver
import org.springframework.web.servlet.ModelAndView

@Order(-2)
@Order(1)
class TruffleHandlerExceptionResolver(private val hub: IHub) : HandlerExceptionResolver {
override fun resolveException(
request: HttpServletRequest,
Expand Down

0 comments on commit 6dbb05d

Please sign in to comment.