I have a question about catching render errors when batch rendering in Maya. I know I can render the entire scene by running 'render' command in the Command Prompt, and I can also specify several callbacks, which would run after a layer is rendered or after each frame is rendered, etc. I can easily use MEL command to import a python script and run Python for any post-rendering tasks. With that I have no problem.
But, what i have problems with, is how do I know through these callbacks, if a frame errored out and batch rendering stopped. Is there any way to get that information, say, from a post-frame rendering callback? The reason I need it is because if such an error occurs, i need to clean up the database, marking all the data items, each corresponding to a scene frame, and mark them as an 'error' status.
However, i have already spent hours searching online and can not find if Maya allows to catch such errors when I perform batch rendering.
Can anyone help me? I really need your help, for, honestly, I am kind of lost and have no idea where else to search for the information.