Skip to content

Commit

Permalink
removed useless lines
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollina committed Oct 27, 2017
1 parent 46c95c2 commit ad85ceb
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions index.js
Expand Up @@ -119,12 +119,6 @@ async function register (server, options, nex) {
logObject = { tags, data }
}

if (event.error) {
logObject.err = event.error
current.error(logObject)
return
}

for (var i = 0; i < tags.length; i++) {
level = tagToLevels[tags[i]]
if (level) {
Expand Down

0 comments on commit ad85ceb

Please sign in to comment.