Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialRobbie The King
Courses Plus Student 111 PointsShould we show any kind of error in a production projects?
Should we show any kind of error in a production projects or it's better to keep silent?
2 Answers
Alena Holligan
Treehouse TeacherThere should be no server errors shown directly to the user. If there are things, like external systems you rely on, you should be catching those exceptions and displaying your own error. Logging on production is very important to make sure you catch anything that might get by.
Gleb Shirokov
140 PointsJustin Horner , I guess Robbie meant something different. I also wondered, should we change the error level to "always show" as Alena Holligan did in this video in projects that go for a production. I think Robbie meant this.