Skip to content

Improve logging for StandardError handling #21

Description

@mattdowdell

The API currently handles StandardError (or children of) exceptions but only outputs an error message top the end user.

This should be improved by logging the error to the relevant log file (production/development/test) and sending an email to let maintainers know about the error in production.

Tasks

  • - Log error to the relevant file.
  • - File should display level of error.
  • - File should display the time of the error in development and production.
  • - Fatal errors caught by the API error handling should trigger a email message when in production to errors@altitude.tech.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions