Skip to content

Commit d3794e2

Browse files
authored
Merge pull request #43 from Team-MostWanted/feature/extra-logging-on-script-errors
Added extra logging on script error
2 parents 66a1598 + 066bd38 commit d3794e2

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) with the minor change that we use a prefix instead of grouping.
55
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [1.17.0] - 2024-11-15
8+
- Added: extra logging on executed script error
9+
710
## [1.16.0] - 2024-10-14
811
- Security: dependency and security updates
912

probe.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ func run(cmd *exec.Cmd) runResult {
7373
if errors.As(err, &e) {
7474
result.exitCode = e.ExitCode()
7575
}
76+
77+
log.Error("[Run] encountered an error: ", result.stderr)
7678
}
7779

7880
log.Debug("[Run] end duration: ", result.exitCode)

0 commit comments

Comments
 (0)