add: config client-error-verbosity to set error verbosity
Set error verbosity using this config. The verbosity can be set to `verbose` or `minimal` for client error responses. This only affects client side HTTP responses, server side logs are not affected by this config. Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com>
This commit is contained in:
committed by
Steve Chavez
parent
2edc44c352
commit
83dc082acf
@@ -1,3 +1,4 @@
|
||||
client-error-verbosity = "verbose"
|
||||
db-aggregates-enabled = false
|
||||
db-anon-role = ""
|
||||
db-channel = "pgrst"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
client-error-verbosity = "verbose"
|
||||
db-aggregates-enabled = false
|
||||
db-anon-role = ""
|
||||
db-channel = "pgrst"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
client-error-verbosity = "verbose"
|
||||
db-aggregates-enabled = false
|
||||
db-anon-role = ""
|
||||
db-channel = "pgrst"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
client-error-verbosity = "verbose"
|
||||
db-aggregates-enabled = false
|
||||
db-anon-role = ""
|
||||
db-channel = "pgrst"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
client-error-verbosity = "verbose"
|
||||
db-aggregates-enabled = false
|
||||
db-anon-role = ""
|
||||
db-channel = "pgrst"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
client-error-verbosity = "verbose"
|
||||
db-aggregates-enabled = false
|
||||
db-anon-role = ""
|
||||
db-channel = "pgrst"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
client-error-verbosity = "verbose"
|
||||
db-aggregates-enabled = false
|
||||
db-anon-role = ""
|
||||
db-channel = "pgrst"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
client-error-verbosity = "verbose"
|
||||
db-aggregates-enabled = false
|
||||
db-anon-role = ""
|
||||
db-channel = "pgrst"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
client-error-verbosity = "verbose"
|
||||
db-aggregates-enabled = false
|
||||
db-anon-role = ""
|
||||
db-channel = "pgrst"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
client-error-verbosity = "minimal"
|
||||
db-aggregates-enabled = false
|
||||
db-anon-role = "pre_config_role"
|
||||
db-channel = "postgrest"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
client-error-verbosity = "minimal"
|
||||
db-aggregates-enabled = false
|
||||
db-anon-role = "anonymous"
|
||||
db-channel = "postgrest"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
client-error-verbosity = "minimal"
|
||||
db-aggregates-enabled = true
|
||||
db-anon-role = "root"
|
||||
db-channel = "postgrest"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
client-error-verbosity = "verbose"
|
||||
db-aggregates-enabled = false
|
||||
db-anon-role = ""
|
||||
db-channel = "pgrst"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
client-error-verbosity = "verbose"
|
||||
db-aggregates-enabled = false
|
||||
db-anon-role = ""
|
||||
db-channel = "pgrst"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
PGRST_APP_SETTINGS_test2: test
|
||||
PGRST_APP_SETTINGS_test: test
|
||||
PGRST_CLIENT_ERROR_VERBOSITY: minimal
|
||||
PGRST_DB_AGGREGATES_ENABLED: true
|
||||
PGRST_DB_ANON_ROLE: root
|
||||
PGRST_DB_CHANNEL: postgrest
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
client-error-verbosity = "minimal"
|
||||
db-aggregates-enabled = true
|
||||
db-anon-role = "root"
|
||||
db-channel = "postgrest"
|
||||
|
||||
Reference in New Issue
Block a user