Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

fix: match error if repo doesn't exist #1262

Merged
merged 1 commit into from
Mar 14, 2018
Merged

Conversation

dryajov
Copy link
Member

@dryajov dryajov commented Mar 13, 2018

No description provided.

@ghost ghost assigned dryajov Mar 13, 2018
@ghost ghost added the status/in-progress In progress label Mar 13, 2018
@JonKrone
Copy link
Contributor

I believe that this is the same handling as is happening in boot.js here. Could we alternatively migrate this check to the ipfs-repo._isInitialized method and convert these errors into a unified repo doesn't exist error?

@dryajov
Copy link
Member Author

dryajov commented Mar 14, 2018

@JonKrone That already handles IndexDb errors with the not found string... This fix is specifically for the version call. I'm not sure if they can be unified.

Copy link
Member

@daviddias daviddias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants