At the moment, the FileWriterGeneratorStrategy sets and resets the error handler to an empty closure. The problem arises, when trying to serialize a proxy factory, which uses it as a caching mechanism.
The serialization fails with Uncaught Exception: Serialization of 'Closure' is not allowed
At the moment, the
FileWriterGeneratorStrategysets and resets the error handler to an empty closure. The problem arises, when trying to serialize a proxy factory, which uses it as a caching mechanism.The serialization fails with
Uncaught Exception: Serialization of 'Closure' is not allowed