Skip to content

Commit

Permalink
docs(dos): Improve the wording of two log messages
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
  • Loading branch information
sschuberth committed Jun 24, 2024
1 parent 6fb9c25 commit 9420a9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clients/dos/src/main/kotlin/DosClient.kt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class DosClient(private val service: DosService) {
*/
suspend fun getUploadUrl(key: String): String? {
if (key.isEmpty()) {
logger.error { "Need the name of the zipped packet to upload" }
logger.error { "The key for getting the upload URL must be non-empty." }
return null
}

Expand Down Expand Up @@ -161,7 +161,7 @@ class DosClient(private val service: DosService) {
*/
suspend fun getScanJobState(id: String): JobStateResponseBody? {
if (id.isEmpty()) {
logger.error { "Need the job ID to check for job state" }
logger.error { "The job ID for getting the scan job state must be non-empty." }
return null
}

Expand Down

0 comments on commit 9420a9f

Please sign in to comment.