All checks were successful
Go CI/CD / go-ci (push) Successful in 10m3s
Reviewed-on: #2 Reviewed-by: Cloud Administrator <cloud-admin@noreply.gitstormr.dev> Co-authored-by: Rene Nochebuena <code-raider@noreply.gitstormr.dev> Co-committed-by: Rene Nochebuena <code-raider@noreply.gitstormr.dev>
15 lines
227 B
Go
15 lines
227 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
"gitstormr.dev/stone-utils/stonelog"
|
|
)
|
|
|
|
func main() {
|
|
if os.Getenv("TEST_FATAL") == "1" {
|
|
stonelog.InitStoneLog(stonelog.TRACE, false, false)
|
|
stonelog.Meltdown("A fatal error occurred")
|
|
}
|
|
}
|