mit-dci / opencx

An open-source cryptocurrency exchange toolkit for implementing experimental exchange features
MIT License
206 stars 66 forks source link

Handle errors in cmd package init files #21

Open Rjected opened 5 years ago

Rjected commented 5 years ago

In the initialization files such as opencxdinit.go, ocxinit,go, and fredinit.go, there are some calls to os and file methods that return errors, but the errors are ignored. They should be handled at some point.

These files are fairly messy, so refactoring these files and going through any other code which creates files / directories would be very helpful.