From 4ad16d1f15ff40dbc8300906255b834fd7e8a328 Mon Sep 17 00:00:00 2001 From: F-Node-Karlsruhe Date: Thu, 30 Mar 2023 13:39:10 +0200 Subject: [PATCH] fix error respsonse --- CHANGELOG.md | 5 +++++ api/src/routes/verify/index.ts | 2 +- frontend/src/store/index.js | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 72fae0e..c7e914f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ WIP --- +1.4.2 (2023-03-30) +--- + +- fix error message + 1.4.1 (2023-03-21) --- diff --git a/api/src/routes/verify/index.ts b/api/src/routes/verify/index.ts index 8e676f7..c465419 100644 --- a/api/src/routes/verify/index.ts +++ b/api/src/routes/verify/index.ts @@ -49,7 +49,7 @@ export class VerifyRoutes { return res.status(StatusCodes.OK).json(results); } catch (error) { - return res.status(StatusCodes.BAD_REQUEST).send(error); + return res.status(StatusCodes.BAD_REQUEST).send('Something went wrong!\n' + error); } } diff --git a/frontend/src/store/index.js b/frontend/src/store/index.js index f89a17b..af2860c 100644 --- a/frontend/src/store/index.js +++ b/frontend/src/store/index.js @@ -3,7 +3,7 @@ import { createStore } from 'vuex' export default createStore({ state: { - version: '1.4.1', + version: '1.4.2', verifiables: [], VC_REGISTRY: process.env.VC_REGISTRY || 'https://ssi.eecc.de/api/registry/vcs/', OPENID_ENDPOINT: process.env.OPENID_ENDPOINT || 'https://ssi.eecc.de/api/openid/',