From 967c68a24db8f1ed1bd087b89e6511a6cf51561d Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Sun, 24 Aug 2025 11:25:40 +0300 Subject: [PATCH] Show errors on connection --- config/runtime.exs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/config/runtime.exs b/config/runtime.exs index 2e0f496a..c68327be 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -78,7 +78,8 @@ if config_env() == :prod do database: database_path, # 32MB * pool_size = base memory usage cache_size: -32_000, - pool_size: String.to_integer(System.get_env("POOL_SIZE") || "5") + pool_size: String.to_integer(System.get_env("POOL_SIZE") || "5"), + show_sensitive_data_on_connection_error: true error_database_path = System.get_env("ERROR_DATABASE_PATH") || @@ -91,7 +92,8 @@ if config_env() == :prod do database: error_database_path, # 16MB * pool_size = base memory usage cache_size: -8000, - pool_size: String.to_integer(System.get_env("POOL_SIZE") || "5") + pool_size: String.to_integer(System.get_env("POOL_SIZE") || "5"), + show_sensitive_data_on_connection_error: true background_database_path = System.get_env("BACKGROUND_DATABASE_PATH") || @@ -104,7 +106,8 @@ if config_env() == :prod do database: background_database_path, # 16MB * pool_size = base memory usage cache_size: -8000, - pool_size: String.to_integer(System.get_env("POOL_SIZE") || "5") + pool_size: String.to_integer(System.get_env("POOL_SIZE") || "5"), + show_sensitive_data_on_connection_error: true # The secret key base is used to sign/encrypt cookies and other secrets. # A default value is used in config/dev.exs and config/test.exs but you