.net - Stack Trace File Path "Server Error in Application" -
Whenever someone (uses my application) becomes a "server in" / "application" error, they Stack Track and Kindle Emails a screenshot, however, the line within the stack, which is most interested to me, almost always crops; Due to the length of the line
Stack says something like this (see how you have to scroll)
namespace. Class. Method (type parameter) in c: \ user \ myname \ desktop \ development project \ svn_branch \ project \ sub_project \ projectName \ controller \ controllerName.cs: line 000
Does this mean that Can I do something to make the path easier?
- A short way?
- Anything without my name?
In this way (see how you do not have to scroll)
name space. Class. The controller in the method (type parameter) Name: Line 000
[edit] - There is a template pkage (eg 404 Htm) for "server error" / 'application' where I could potentially customize the page ? I think it can be quick to decide that a fixed position can be applied on the page, to force the line that I'm interesting for 'word wrap'.
Just change your repository location to C: \ projects
and re-join Change in something like iles and radios.
You can also apply a custom error 500 page that you can parse and format the required information.
Comments
Post a Comment