Can you try adding a
return 1; at the end of your handle_error sub?
I believe HandleError must return true for the RaiseError/PrintError subs to be skipped.
--------------
It's sad that a family can be torn apart by such a such a simple thing as a pack of wild dogs