Skip to content

Better error messages for version mismatches #5678

@mikemaccana

Description

@mikemaccana

When attempting a rethinkdb restore

ReQL error during 'version check': Could not connect to localhost:28015. Error: No JSON object could be decoded

The 'JSON' message is confusing, it makes it seem like the backup is corrupt. The action cause is the version mismatch. A better error would be:

ReQL error during 'version check': rethinkdb version mismatch when connecting to localhost:28015. 

Or better yet:

ReQL error during 'version check': rethinkdb version mismatch when connecting to localhost:28015. Dump is from rehtindb 2.3.0, this is version 2.2.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions