Add try/except and packet info printing upon exception

For better debugging. Also handle_migration is turned on