Skip to content

Commit

Permalink
Merge pull request #250 from pixlise/development
Browse files Browse the repository at this point in the history
Release v4.17.0
  • Loading branch information
pnemere authored Jun 27, 2024
2 parents 83b9c07 + a35728a commit 492cebe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/ws/handlers/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func HandleImageGetReq(req *protos.ImageGetReq, hctx wsHelpers.HandlerContext) (
case errorwithstatus.Error:
if e.Status() == http.StatusNotFound {
// Log the error instead
hctx.Svcs.Log.Errorf("ImageGetReq: Scan %v doesn't exist when checking for user access, allowing in case of scan not existing")
hctx.Svcs.Log.Errorf("ImageGetReq: Scan %v doesn't exist when checking for user access, allowing in case of scan not existing", scanId)
handled = true
}
}
Expand Down
2 changes: 1 addition & 1 deletion internal/api/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ func (h autoImportHandler) handleAutoImportJobStatus(status *protos.JobStatus) {
quantification.RunAutoQuantifications(scan.Id, h.svcs)
}, h.svcs.MongoDB, h.svcs.TimeStamper, h.svcs.Log)
} else {
h.svcs.Log.Infof("Scan complete time doesn't match current time, assuming auto-quantification not required.")
h.svcs.Log.Infof("Scan complete time %v doesn't match current time %v, assuming auto-quantification not required.", scan.CompleteTimeStampUnixSec, scan.TimestampUnixSec)
}
} else if status.JobType == protos.JobStatus_JT_REIMPORT_SCAN {
h.svcs.Notifier.NotifyUpdatedScan(scan.Title, scan.Id)
Expand Down

0 comments on commit 492cebe

Please sign in to comment.