try-except for event checker