aboutsummaryrefslogtreecommitdiff
path: root/config/error_handler.cr
diff options
context:
space:
mode:
Diffstat (limited to 'config/error_handler.cr')
-rw-r--r--config/error_handler.cr3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/error_handler.cr b/config/error_handler.cr
new file mode 100644
index 0000000..c6b736e
--- /dev/null
+++ b/config/error_handler.cr
@@ -0,0 +1,3 @@
+Lucky::ErrorHandler.configure do |settings|
+ settings.show_debug_output = !LuckyEnv.production?
+end