fixed a bug that cannot be resized when adding bar widget (##20). catch undefined promise on logdb worker service.