catch and rethrow intent errors