Added QBaka error handling