Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
komuw committed Mar 1, 2024
1 parent 45969d5 commit 5ccc6a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

Most recent version is listed first.

# v0.0.21
- Bugfix

# v0.0.20
- Support older Go versions: https://github.com/komuw/kama/pull/71
- Stackp can now write to any io.writer: https://github.com/komuw/kama/pull/74
Expand Down
2 changes: 1 addition & 1 deletion stack.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func getStackTrace() []string {
txtLast := ""
txtLastButOne := ""
for k := range frms {
if strings.Contains(frms[k].file, "/kama/") || strings.Contains(frms[k].file, "go/src/") {
if strings.Contains(frms[k].file, "komuw/kama") || strings.Contains(frms[k].file, "go/src/") {
// Do not display expanded source code for this library or Go runtime.
n = n + 1
} else {
Expand Down

0 comments on commit 5ccc6a3

Please sign in to comment.