added launcher error handling