Skip to content

Show a specific message when restoring a user not found on the instance #400

@Catrya

Description

@Catrya

When a user restores an account that has not been used on a given Mostro instance, for example, after switching to an instance where no data exists for that user, Mostro returns the following response:

"{\"cant-do\":{\"version\":1,\"request_id\":null,\"trade_index\":null,\"action\":\"cant-do\",\"payload\":{\"cant_do\":\"not_found\"}}}

Currently, the message shown to the user is:

No data found for this account on the selected Mostro instance.

This message does not accurately describe what is happening. There is no connection error; the issue is simply that the selected Mostro instance has no data associated with that user, which can be confusing.

It would be an improvement to display a specific message when a not_found response is received, clearly explaining that no user data exists on the selected instance, like this
No data found for this account on the selected Mostro instance.

This would be a new message just for that case. The previous message should be retained for other cases that require it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions