Revert "Emit error event in sqlite adapter"

This reverts commit 495b3d2eeb6c6bd3d02f0f1a3498a68d309d9b6f.