fixing array/scalar context in capture_errors
die if processor undefined the event