add proper error handling when the issue search fails