ALM-152 added error handlers to catch errors in central database