braindb try/catch