fred_go_toolkit
fred_go_toolkit copied to clipboard
Fatal error
I am using the toolkit in a project that fetches data from multiple sources. I encountered an issue which triggered an error which is logged and then terminates the application to the os.
This happens in line 188 of fred_toolkit_v1.go if err != nil { f.log("[operate] callAPI Error " + err.Error()) return nil, err }
It would be preferable to log and return the error so that it can be handled rather than terminating.