From 0b1cd624498f0b3f891115e7a0e83dc987ad0e10 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Sat, 15 Jun 2019 23:56:25 +0200 Subject: [PATCH] feat(backend): handle more ecanpsulated errors --- backend/src/uxbox/api/errors.clj | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/src/uxbox/api/errors.clj b/backend/src/uxbox/api/errors.clj index 45cec6cdd..9b421cc92 100644 --- a/backend/src/uxbox/api/errors.clj +++ b/backend/src/uxbox/api/errors.clj @@ -58,6 +58,9 @@ (instance? java.util.concurrent.CompletionException error) (errors-handler context (.getCause error)) + java.util.concurrent.ExecutionException + (errors-handler context (.getCause error)) + (instance? org.jooq.exception.DataAccessException error) (handle-data-access-exception error)