Moved get_exception to linkplanets file