diff --git a/core/src/main/java/org/owasp/dependencycheck/data/update/KnownExploitedDataSource.java b/core/src/main/java/org/owasp/dependencycheck/data/update/KnownExploitedDataSource.java index 104988210db..459af715d94 100644 --- a/core/src/main/java/org/owasp/dependencycheck/data/update/KnownExploitedDataSource.java +++ b/core/src/main/java/org/owasp/dependencycheck/data/update/KnownExploitedDataSource.java @@ -86,13 +86,14 @@ public boolean update(Engine engine) throws UpdateException { } //all dates in the db are now stored in seconds as opposed to previously milliseconds. dbProperties.save(DatabaseProperties.KEV_LAST_CHECKED, Long.toString(System.currentTimeMillis() / 1000)); + return true; } } catch (TooManyRequestsException | ResourceNotFoundException | IOException | CorruptedDatastreamException | DatabaseException | SQLException ex) { throw new UpdateException(ex); } } - return true; + return false; } @Override