← Changelog

Human readable file upload params and ignore broken pipe errors

Sep 17, 2024
Ruby4.0.9

Changed

  • Add the logger gem as a dependency. This fixes the deprecation warning on Ruby 3.3.

  • Do not report errors caused by Errno::EPIPE (broken pipe errors) when instrumenting response bodies, to avoid reporting errors that cannot be fixed by the application.

  • Normalize Rack and Rails UploadedFile objects. Instead of displaying the Ruby class name, it will now show object details like the filename and content type.

    Shell
    # Before
    #<Rack::Multipart::UploadedFile>
    #<ActionDispatch::Http::UploadedFile>
    
    # After
    #<Rack::Multipart::UploadedFile original_filename: "uploaded_file.txt", content_type: "text/plain">
    #<ActionDispatch::Http::UploadedFile original_filename: "uploaded_file.txt", content_type: "text/plain">
    

View the Ruby gem v4.0.9 changelog for more information.

$appsignal install

Make your next crash make sense.

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