crypto try-catch