Error handling when plugin not initialized.

Signed-off-by: AVL <arakelov93@gmail.com>
Merge pull request #10 from avl93/master

Error handling when plugin not initialized.