Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

captureBreadcrumb crashes app if params contain NSDate #105

Closed
jpaas opened this issue Jun 15, 2017 · 1 comment
Closed

captureBreadcrumb crashes app if params contain NSDate #105

jpaas opened this issue Jun 15, 2017 · 1 comment
Assignees

Comments

@jpaas
Copy link

jpaas commented Jun 15, 2017

v 0.12.11

If I call capture breadcrumb and the params contain a date value, the app will crash with something like this:

	
RCTFatalException: Exception 'Invalid type in JSON write (__NSDate)' was thrown while invoking captureBreadcrumb on target RN...: Application threw exception RCTFatalException: Exception 'Invalid type in JSON write (__NSDate)' was thrown while invoking captureBreadcrumb on target RNSentry with params (
        {
        category = info;
        data =         {
            level = 30;
            name = "worker-react-app";
            time = "2017-06-15 12:27:47 +0000";
            v = 0;
        };
        level = info;
        message = "CrashReporter installing Sentry";
        timestamp = "1497529667.113";
    }
): Exception 'Invalid type in JSON write (__NSDate)' was thrown while invoking...
@HazAT HazAT self-assigned this Jun 16, 2017
@HazAT
Copy link
Member

HazAT commented Jun 20, 2017

This has been fixed in the latest release.

@HazAT HazAT closed this as completed Jun 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants