Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8102933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T23:22:41+00:00 2026-06-05T23:22:41+00:00

Under what specific situation is it ok (or even recommended) to present end-users with

  • 0

Under what specific situation is it ok (or even recommended) to present end-users with a StackTrace to their UI on a production system.

There are a large number of websites and SO articles where folks ask if they should show StackTraces to an end user. Not surprisingly, the answers are a resounding “No!”.

For example:

  • Java: what information in error stack trace do we typically not wish to show users?
  • java : Using printStackTrace in Production Environment
  • Should I Print the Exception Stack Trace?
  • When to log a stacktrace for a caught exception

However, I recently had a conversation with another developer where I spent a good deal of time posturing why stacktraces shouldn’t be passed to the user via the UI. That discussion had me go back and revisit one of my fundamental (absolute) tenants – the user shall never see a raw StackTrace in production.

I couldn’t find a single compelling reason. However, I’m sure there is valid usecase, and I’d like to either understand it, or feel comfortable continuing to hold fast to my absolute tenant.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T23:22:43+00:00Added an answer on June 5, 2026 at 11:22 pm

    You don’t–they’re simply not helpful to a user.

    Users get messages. Developers get stack traces, either in the logs, an email, a queue, maybe the rendered HTML when running locally/internally, etc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there an API that will delete all the values under a specific registry
Is there any way to know if I'm compiling under a specific Microsoft Visual
I'm creating a temp image always named 1.png under specific folder and once i
I have VS2005. How can I compile my project under specific version of .NET?
I would like to find the files containing specific string under linux. I tried
I used this code to access the Specific XML under the SharePoint Mapped Folder;
In netbeans 6.8 under Services -> Servers I'm able to add specific kind of
Under the .NET Compact Framework, there is no FormWindowState.Minimize value. How can I minimize
I'm attempting to completely hide a custom web part I'm writing under specific circumstances.
Can anybody help me build a module that displays articles under specific section only

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.