aodn / aatams

Animal Tracking (formerly AATAMS)
https://aatams.aodn.org.au
8 stars 3 forks source link

Removed unnecessary connections inside for loop #464

Closed ggalibert closed 4 years ago

ggalibert commented 4 years ago

The next improvement would be to add a tryCatch so that we can close any open connection if anything fails within the tryCatch{} during finally{}. See example https://stackoverflow.com/questions/12193779/how-to-write-trycatch-in-r