Fix to log actual page error occured on from SSJS instead of custom
error page