Skip to content

Re-configuring the client / Changing DSN on the run #277

Closed
@seronal

Description

@seronal

Short version: Is there a way to change dsn after the initial configuration?

Long version: I am building a cordova/angularjs mobile app and trying to integrate raven-js into it. My use case is that the user will login to one of many servers. Server passes the dsn info on login, and dsn depends on the server that user is connecting to. They can then logout, and login to a different server. Hence, I need to be able to change dsn information on the run. Is this currently possible? I found this pr #233 which seems to explicitly disable this behavior. I am coming from native app development, and am a noob when it comes to js. Is there something obvious I am missing here?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions