Skip to content

Improve logging for StandardError handling #21

@mattdowdell

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.

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