improve error handling in the violation handler
godoc
'none' and cleanup