Worker error handling