Commit Graph

23 Commits

Author SHA1 Message Date
Victor Hurdugaci 15c0e16a91 React to DNX changes 2015-07-29 03:38:40 -07:00
Kiran Challa 8d583a4718 [Fixes #157] ErrorPage middleware doesn't show source code lines of Razor files 2015-07-28 08:49:53 -07:00
Andrew Stanton-Nurse 4656872876 react to DNX renames 2015-07-21 16:43:57 -07:00
Kiran Challa 7c287c8712 Added logging to ErrorPageMiddleware 2015-07-14 21:17:57 -07:00
Chris R 26a6b5dc33 #28 Remove environment page from the error page. 2015-06-30 17:05:42 -07:00
Henk Mollema 0da9e2bec5 Remove ErrorPageOptions properties except SourceCodeLineCount
- Removed all properties except `SourceCodeLineCount`
- Updated ErroPageMiddleware (including some minor code-style changes)
- Updated CompilationErrorPage.cshtml and ErrorPage.cshtml
- Added `run` command to PageGenerator project.json to execute from command line
- Include cookies on error page
- Removed showSource parameter
- Remove unused exception parameter
2015-06-16 09:51:10 -07:00
Henk Mollema 6dbbe831c4 Removed SetDefaultVisibility for ErrorPageOptions
- Removed `SetDefaultVisibility` method from `(Database)ErrorPageOptions`
- `(Database)ErrorPageOptions` properties are now auto-properties since there is no default visibility anymore
- Removed `isDevMode` parameter from `ErrorPageMiddleware` ctor
- Removed comments from `ErroPageExtensions.UseErrorPage()`
- Updated Entity tests

#130
2015-06-09 10:14:22 -07:00
Hisham Abdullah Bin Ateya 1f36174da5 Using [NotNull] 2015-05-07 00:32:34 +03:00
N. Taylor Mullen b1643b438a Update LICENSE.txt and license header on files. 2015-05-01 13:46:24 -07:00
Pranav K 3b2ded5652 Adding support for printing multiple compilation failures 2015-04-16 14:54:08 -07:00
Pranav K dc7e4c8c4f Merge branch 'release' into dev 2015-04-08 07:15:43 -07:00
Pranav K 9da95d620c Reacting to ICompilationMessage line indexes changing to be 1-based 2015-04-07 22:05:05 -07:00
Pranav K d2dfae108a * Remove ICompilation* interfaces from Diagnostics
* Removing error message from CompilationErrorPage since it repeats
 individual errors.

 Fixes #111
2015-04-02 12:37:33 -07:00
Pranav K 576731e86e Adding contract interfaces for specifying runtime compilation exceptions.
Fixes #12
2015-01-12 14:35:15 -08:00
Praburaj 86432baac7 File names and line numbers don't appear on mono error page
https://github.com/aspnet/Diagnostics/issues/54

Fix is to handle the retrievel of file name with different separators on .net and mono.
2014-11-25 15:15:46 -08:00
Praburaj 58b1ae1712 A regression introduced in a recent change
With this fix a case is regressed.
ba5d235a32

If file information is not available if function is empty then line needs to be sent. With the regression empty lines were printed in error page where symbol information is not available. This fixes it. Thanks Chris for identitying this and fixing.
2014-11-20 16:24:04 -08:00
Praburaj ba5d235a32 Function name not passed to LoadFrame method when file name is not present in stacktrace
When file names are missing from exception stack trace the above line of code does not pass the detected function name. As a result issue described in bug : https://github.com/aspnet/Diagnostics/issues/49 happens.

This issue happens on mono. With this fix method names show up in the error page middleware output on mono.
2014-11-18 17:06:08 -08:00
Victor Hurdugaci 0c3f7eab9e Runtime information page 2014-10-01 15:20:44 -07:00
turchenkoalex 1e1e55b362 Fix not shown 'exception page' on non windows system
Occurs on non windows system where Environment.NewLine is LF (1 symbol length) Unix, Linux, OS X etc. And options.ShowExceptionDetails is true.
Replaced number '2' to Environment.NewLine.Length.
2014-07-13 21:14:05 +04:00
Andrew Peters 54c9794c2a Updating copyright headers 2014-05-08 23:00:53 -07:00
Chris Ross 0c48454ad2 Fix HttpAbstractions dependency issues. 2014-05-06 10:39:14 -07:00
DamianEdwards b4de33eeea Added a console app to generate the Razor pages
- Replaces the TT files previously being used (in Katana)
- Modified the include file logic to work better with the new generated Razor output as the old syntax/logic didn't work well with the additional line pragmas, etc. being emitted
- Updated the middleware to work with new generated output (ExecuteAsync instead of Execute, etc.)
- Fixed a scoping issue in Error.cshtml
- gitignore sln.ide cache directory
- #3
2014-05-01 16:24:03 -07:00
Chris Ross 7ddfc9cde4 Initial import from Katana. 2014-03-13 10:57:15 -07:00