Custom error message #585
khanhpd2002
started this conversation in
General
Replies: 2 comments
-
|
Hi @khanhpd2002 , currently we not support for cusome error message. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Are you using docker or jar version of DB2Rest? And which database? @khanhpd2002. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @kdhrubo , I have a question is how can I custom error message.
It seems like db2rest just catch exception from database then show that error like
ERROR: null value in column \"notification\" of relation \"notification_configs\" violates not-null constraint\n Detail: Failing row contains (24, null, thanh, Đây là thông báo test\nCảm ơn! abc, https://upload.aggregatoricapaci.com/green-cross-guild-dev/2024/..., 2024-05-21 03:52:55.670022, 2024-05-21 03:52:55.670022).Can we custom it to like "Can null value in column
notification"Thank you.
Beta Was this translation helpful? Give feedback.
All reactions