fix: server not stop when app cannot connect to db
fix: server not stop when app cannot connect to db

Signed-off-by: Raccoon <0dab596dfbdac625836801de1f430bf250bc0557@hackmd.io>

hackmdio/hackmd,hackmdio/hackmd,jackycute/HackMD,jackycute/HackMD,jackycute/HackMD,hackmdio/hackmd