Skip to content
Snippets Groups Projects

Resolve "(UBI) Upgrade Policy Quarkus to v.3"

3 files
+ 9
12
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -36,8 +36,6 @@ public class GeneralExceptionHandler implements ExceptionHandlerProvider {
public Throwable transform(Throwable t) {
if (t instanceof ExternalServiceFailureException) {
return new StatusRuntimeException(Status.INTERNAL.withDescription(t.getMessage()));
} else if (t instanceof NewException) {
return new StatusRuntimeException(Status.UNIMPLEMENTED.withDescription(t.getMessage()));
} else {
return ExceptionHandlerProvider.toStatusException(t, true);
}
Loading