Skip to content

Commit

Permalink
Fix misleading log statement
Browse files Browse the repository at this point in the history
  • Loading branch information
GardOS committed Sep 12, 2024
1 parent 6a16cae commit 4b52e27
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,7 @@ class CpaSyncService(private val cpaRepoClient: HttpClient, private val nfsConne
val cpaId = getCpaIdFromCpaContent(cpaContent)

if (cpaId == null) {
log.warn(
"Regex to find CPA ID in file ${nfsCpaFile.filename} did not find any match. " +
"File corrupted or wrongful regex. Aborting sync."
)
log.warn("Regex to find CPA ID in file ${nfsCpaFile.filename} did not find any match. File corrupted or wrongful regex.")
return null
}

Expand Down

0 comments on commit 4b52e27

Please sign in to comment.