Fixes #25 empty error message when add copilot

Fix #25 Add error message when there is no copilot operations