Logging - is there a way to return the current package/process name?

Hey guys, newbie here!

If it is possible, Is there a way to return the name of the current package/process, particularly one that has just faulted/failed/encountered an error?

I am trying to build some logging which will email me a screenshot and include the name of the Robot process that failed.

You can access the log files for the error information or Exception object that caught in the catch block contains the information about the error.

Did you tried these options?

Regards,
Karthik

when you put the flow inside try catch, in catch block have your take screenshot and save image while saving you can use system.exception.message(which will be containing the exception message along withe where it throw the error).