Thomas Aquinas,
Summa Theologiae — Question 76 - OF THE CASUES OF SIN, IN PARTICULAR…
“ I answer that, Since every sin is voluntary, ignorance can diminish sin, in so far as it diminishes its voluntariness; and if it does not render it less voluntary, it nowise alleviates the sin. Now it is evident that the ignorance which excuses from sin altogether (through making it altogether involuntary) does not diminish a sin, but does away with it altogether. On the other hand, ignorance which is not the cause of the sin being committed, but is concomitant with it, neither diminishes nor increases the sin. ”
