fred_go_toolkit icon indicating copy to clipboard operation
fred_go_toolkit copied to clipboard

Fatal error

Open kimbrowne opened this issue 5 years ago • 0 comments

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.

kimbrowne avatar Dec 09 '20 02:12 kimbrowne