dockyard icon indicating copy to clipboard operation
dockyard copied to clipboard

DB variable uninitialized

Open dsanader opened this issue 9 years ago • 0 comments

Hello,

The web server is panicing on every request because of the DB variable being nil.

I've added a call to models.OpenDatabase() in SetDockyardMacaron function to prevent that as a quick fix. Not sure where you would wish to put that. There, or in a init function.

Regards.

dsanader avatar Nov 18 '16 09:11 dsanader