Skip to content

Commit

Permalink
Fix missing change.
Browse files Browse the repository at this point in the history
  • Loading branch information
LSmyrnaios committed Nov 28, 2024
1 parent e16993d commit 613e900
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -672,8 +672,8 @@ else if ( docFile.exists() ) // If it's not an already-known duplicate (this is
if ( docFile.exists() )
FileDeleteStrategy.FORCE.delete(docFile);
} catch (Exception e) {
logger.error("Error when deleting the half-created file: " + docFileName);
}
logger.error("Error when deleting the half-created file: " + fileName);
// The "fileOutputStream" was not created in this case, so no closing is needed.
throw new FileNotRetrievedException(fnfe.getMessage());
} catch (Exception e) { // Mostly I/O and Security Exceptions.
Expand Down

0 comments on commit 613e900

Please sign in to comment.