Error handling when plugin not initialized.

Signed-off-by: AVL <arakelov93@gmail.com>