Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Phillip Stephens <[email protected]>
  • Loading branch information
developStorm and phillip-stephens authored Apr 17, 2024
1 parent 8fcd291 commit 5dc0e1c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion utility.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ func IsTimeoutError(err error) bool {
// doing anything. Otherwise, it logs the stacktrace, the panic error, and the provided message
// before re-raising the original panic.
// Example:
//
// defer zgrab2.LogPanic("Error decoding body '%x'", body)
func LogPanic(format string, args ...interface{}) {
err := recover()
Expand Down

0 comments on commit 5dc0e1c

Please sign in to comment.