Skip to content

Commit

Permalink
fix: bugfix with logging when no encryption key
Browse files Browse the repository at this point in the history
  • Loading branch information
okdistribute committed Jun 23, 2020
1 parent f55f43d commit 01be7c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/background/mapeo.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class MapeoRPC {
this.storages = []
this.config = new Settings(userDataPath)
this.encryptionKey = this.config.getEncryptionKey()
logger.info('got encryptionKey', this.encryptionKey.substr(0, 4))
logger.info('got encryptionKey', this.encryptionKey && this.encryptionKey.substr(0, 4))
this.tiles = TileImporter(userDataPath)

var feedsDir = path.join(datadir, 'storage')
Expand Down

0 comments on commit 01be7c6

Please sign in to comment.