Skip to content

Commit 957e210

Browse files
authored
improved error message
ipfs/js-ipfs#1411
1 parent e504dfa commit 957e210

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/version.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ module.exports = (store) => {
5959
const compatibleVersion = (version === 6 && expected === 7) || (expected === 6 && version === 7)
6060

6161
if (version !== expected && !compatibleVersion) {
62-
return callback(new Error(`version mismatch: expected v${expected}, found v${version}`))
62+
return callback(new Error(`repository version mismatch: expected v${expected}, found v${version}`))
6363
}
6464
callback()
6565
})

0 commit comments

Comments
 (0)