Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
huan committed Jun 9, 2016
1 parent 0a0c6e3 commit 253111a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/puppet-web.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ class PuppetWeb extends Puppet {
log.error('PuppetWeb', 'saveSession() fail to write file %s: %s', filename, err.Error)
return reject(err)
}
log.verbose('PuppetWeb', 'saved session to %s(%d cookies)', this.session, filteredCookies.length)
log.verbose('PuppetWeb', 'saved session(%d cookies) to %s', filteredCookies.length, this.session)
return resolve(filteredCookies)
}.bind(this))
})
Expand All @@ -334,7 +334,7 @@ class PuppetWeb extends Puppet {
const ps = this.browser.addCookies(cookies)
return Promise.all(ps)
.then(() => {
log.verbose('PuppetWeb', 'loaded session from %s(%d cookies)', this.session, cookies.length)
log.verbose('PuppetWeb', 'loaded session(%d cookies) from %s', cookies.length, this.session)
resolve(cookies)
})
.catch(e => {
Expand Down

0 comments on commit 253111a

Please sign in to comment.