← Changelog

Ignore errors, report Express errors and logging improvements

May 01, 2025

Added

  • Add ignore_errors option. Configure this option using the appsignal.config.ignore_errors resource attribute. The errors are matched by class/type.

    The value can be set both as an array or a comma-separated string. The following examples are equivalent:

    Shell
    appsignal.config.ignore_errors=["RuntimeError", "NoMethodError"]
    appsignal.config.ignore_errors="RuntimeError,NoMethodError"
    
  • Allow log records with non-string values as bodies.

    When a log record does not have a string as its body, but it has attributes, serialise those attributes as JSON and use that as the log message instead of the body.

    When a log record has a key-value list as its body, use those key-value pairs as attributes.

  • Extract attributes in Laravel logs, encoded into the context attribute, into separate attributes that can be explored individually in AppSignal.

Fixed

  • Support Express instrumentation version 0.200.0, by ensuring that exception events from Express request handler spans are always reported.

This release can be installed through our collector packages and Docker image.

$appsignal install

Make your next crash make sense.

Free for 30 days. No credit card. Two-minute install.