[Toolkit.Compiler] Catch all exceptions in Compiler tasks