Commit bb0853a7 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Moved clode statement to finally

parent 8faed309
......@@ -106,9 +106,9 @@ object BedRecordList {
} catch {
case e: Exception =>
Logging.logger.error(s"Parsing line number $lineCount failed on file: ${bedFile.getAbsolutePath}")
reader.close()
throw e
} finally {
reader.close()
}
reader.close()
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment