diff --git a/cicm_web/Program.cs b/cicm_web/Program.cs index 48743312..d0b1aba0 100644 --- a/cicm_web/Program.cs +++ b/cicm_web/Program.cs @@ -150,6 +150,9 @@ namespace cicm_web catch(Exception ex) { Console.WriteLine("\u001b[31;1mCould not open database...\u001b[0m"); + #if DEBUG + Console.WriteLine("\u001b[31;1mException: {0}\u001b[0m", ex.Message); + #endif return; } }