rethrow exceptions for debugging