How to return a success value from middleware when server function fails - TanStack