def error_parser(self, job):
        """
        Method to parse traceback errors from crackq and hashcat/pyhashcat

        Arguments
        ---------
        job: object
            RQ job object

        Returns
        -------
        err_msg: string
            Readble error string without the guff, for users
        """
        if job is not None:
            logger.debug('Parsing error message: {}'.format(job.exc_info))
            err_split = job.exc_info.strip().split('\n')
            if 'Traceback' in err_split[0]:
                err_msg = err_split[-1].strip().split(':')[-1]
            else:
                err_msg = job.exc_info.strip()
            logger.debug('Parsed error: {}'.format(err_msg))
            return err_msg
        else:
            return None

        Method to parse traceback errors from crackq and hashcat/pyhashcat

        Arguments
        ---------
        job: object
            RQ job object

        Returns
        -------
        err_msg: string
            Readble error string without the guff, for users
        
crackq/crackqueue.py