def format_traceback(traceback_string):
    """Format traceback."""
    formatted_lines = traceback_string.splitlines()
    formatted_lines.pop(1)
    formatted_lines.pop(1)
    formatted_error_string = '\n'.join(formatted_lines)
    formatted_error_string = formatted_error_string.replace('File "<string>"',
        'Plugin script')
    return formatted_error_string
