Don't array_merge the generated event output if the generation failed
Merge pull request #236 from nezzi/issue-234

Don't array_merge the generated event output if the generation failed