AnsweredAssumed Answered

Unhandled errors

Question asked by jdevans on Jan 30, 2019
Latest reply on Jan 30, 2019 by DavidJondreau

I'm writing a script to be run as PSOS via another script on file-close. What harm is there in unhandled errors?

 

The script is designed to update some stored fields that are based on unstored calculations. It tries to find records that need updating, otherwise leaving them alone. If I get no results, I get error 401. What is the harm in leaving that error 401 untrapped? If I get nothing, my idea is to do nothing. Best practice?

Outcomes