Added warnings and errors to violation_add
Added warnings and errors output to violation add