Skip to content

Commit

Permalink
VideoStoreImportService: break out of endless loop in case of error
Browse files Browse the repository at this point in the history
  • Loading branch information
courville committed Dec 17, 2023
1 parent e4fb517 commit 6c6a241
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@ private void processDeleteFileAndVobCallback() {
}
} catch (SQLException | IllegalStateException e) {
log.error("processDeleteFileAndVobCallback: SQLException or IllegalStateException",e);
break;
} finally {
if (c != null) c.close();
}
Expand Down Expand Up @@ -564,6 +565,7 @@ private void processDeleteFileAndVobCallback() {
}
} catch (SQLException | IllegalStateException e) {
log.error("processDeleteFileAndVobCallback: SQLException or IllegalStateException",e);
break;
} finally {
if (c != null) c.close();
}
Expand Down Expand Up @@ -595,6 +597,7 @@ private void processDeleteFileAndVobCallback() {
}
} catch (SQLException | IllegalStateException e) {
log.error("processDeleteFileAndVobCallback: SQLException or IllegalStateException",e);
break;
} finally {
if (c != null) c.close();
}
Expand Down

0 comments on commit 6c6a241

Please sign in to comment.