alterm4nn / ChronoZoom

ChronoZoom is an interactive timeline for all of history.
http://www.chronozoom.com
156 stars 124 forks source link

Error Handling Improvements #1365

Closed NeilCresswell closed 9 years ago

NeilCresswell commented 9 years ago

Error Handling Improvements

The generic error page is a better choice for end-users since it:

  1. Hides the real server-side error, which can otherwise be examined and exploited by hackers and malicious crawlers.
  2. Is a friendlier experience with some options for next steps, and is more intelligible for the end-user than a technical error.

    AppKey Configuration Changes

    • New key "Airbrake.TrackServer" can be set to true/false to indicate if we want to use Airbrake to track server-side C# errors.
    • New key "Airbrake.TrackClient" can be set to true/false to indicate if we want to use Airbrake to track client-side JS errors.
    • New key "Airbrake.ProjectId" replaces old key "AirbrakeProjectId". Existing values should be migrated.
    • New key "Airbrake.ApiKey" replaces old key "AirbrakeProjectKey". Existing values should be migrated.
    • New key "Airbrake.Environment" replaces old key "AirbrakeEnvironmentName". Existing values should be migrated.
alterm4nn commented 9 years ago

Nice work, thanks!