Oh, so by "script" you actually mean a desktop flow that you call from another desktop flow? I thought you meant a script as in a PowerShell script, or a Python script or something like that. That's where the misunderstanding is coming from.
Anyway, it does seem like your flow is able to call other flows just fine. But if the child flow fails, then the parent flow will also fail. The error returned is what it is because you have not set up any error handling or logging in your flows. Those, unfortunately, do not come out of the box in PAD, and you need to set them up yourself by using On block error to capture the error and then possibly using Get last error in combination with, for example, Write text to file to log the error in some file.
I recommend watching this video for some references on error handling and logging in PAD: https://www.youtube.com/watch?v=QjrxLPg_TdI&ab_channel=AndersJensen
-------------------------------------------------------------------------
If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.