Skip to content

Commit

Permalink
CID-3218: remove unused return value
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedlajmileanix committed Nov 18, 2024
1 parent 3f057a3 commit f024382
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class PostStartupRunner(
logger.info("Full sync finished")
}

private fun fullScanFailure(errorMessage: String?): String {
private fun fullScanFailure(errorMessage: String?) {
val message = "Synchronization aborted. " +
"An error occurred while scanning GitHub resources. Error: $errorMessage"
syncLogService.sendSyncLog(
Expand All @@ -88,6 +88,5 @@ class PostStartupRunner(
)
cachingService.remove("runId")
logger.error(message)
return message
}
}

0 comments on commit f024382

Please sign in to comment.