Skip to content

Commit

Permalink
better error message
Browse files Browse the repository at this point in the history
  • Loading branch information
GantMan committed Feb 4, 2018
1 parent fc7647f commit d08b5b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/extensions/functions/checkRequirement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ module.exports = async (
return addFailure(rule.error || failMessage)
}
} else {
return addFailure(`Custom plugin not found with name ${rule.plugin} & ${rule.name}`)

return addFailure(`NOT FOUND: Custom rule from '${rule.plugin}' plugin with check function '${rule.name}'`)
}
default:
return addFailure('Encountered unknown rule')
Expand Down

0 comments on commit d08b5b9

Please sign in to comment.