Show error message when open method is failed

fix #10