updated error message onto warning if screenshot capturing fails