If connection to MongoDB is lost, exception bubbles rather than being handled gracefully

Description

If SiteWhere is using a MongoDB instance for persistence and communication with the instance is interrupted, an uncaught exception bubbles out to the REST servlet. The loss of connectivity should be handled gracefully with proper error reporting.

Environment

None
Fixed

Assignee

DerekA

Reporter

DerekA

Labels

None

Components

Fix versions

Priority

Major