Giter VIP home page Giter VIP logo

Comments (4)

william-ferguson-au avatar william-ferguson-au commented on June 14, 2024

Excellent idea. Care to submit some code?

William

On Thu, Nov 1, 2012 at 12:47 AM, keccs [email protected] wrote:

Sometimes we want to record some state of the application when the crash
occurs
as opposed to pre-defining the custom data entries with
putCustomData.
Currently we do this by calling putCustomData everytime this state
changes, but that is inconvenient and also sometimes impossible to do (see
issue #13 #13)
It would be much better if we could register some callbacks that ACRA
would call when it creates the crash report.


Reply to this email directly or view it on GitHubhttps://github.com//issues/14.

from acra.

KevinGaudin avatar KevinGaudin commented on June 14, 2024

This is something I have been thinking about without deciding anything for the moment. You can actually use a ReportSender to add custom data to the report if you arrange the list of report senders to make your data collector act before the real report sender... But this is more like a hack.

It would be quite easy to add a hook after executing all ACRA collectors to call a list of custom collectors. But then only the CUSTOM_DATA field could be used to add data.... and I've always been thinking that it would be even more interesting to let users define their own ReportFields... and I've not dug futher in that direction.

A first step with the ability to add data in CUSTOM_DATA might be a nice starter though.

from acra.

tkovacs-dev avatar tkovacs-dev commented on June 14, 2024

William: Yeah, I would love to contribute code and will try to get something done on one of the upcoming weekends.

from acra.

william-ferguson-au avatar william-ferguson-au commented on June 14, 2024

Resolved. See #87

from acra.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.