Extremely important.
If you want your children to be open and honest with you then you must teach them that they can trust you to listen and to hear what they are saying without judging.
That does not mean that you should not guide them or discipline them for their mistakes, it just means that you cannot expect your children to be honest with you if you do not teach them that it is safe to do so.