Added better error handling for IronhackMDB