Trap and log exceptions when quakeml magnitude type is unexpected