Handle exceptions and use proper slug