Try…except in alarm