Skip to content

Uncaught KeyError: 'html_url'  #3

Description

@CleriaMaria

Steps to reproduce

  1. First
  2. Second
  3. Third
Traceback (most recent call last):
  File "C:\Users/Principal/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\report\main_widget.py", line 245, in _submit_issue
    link, number = self.selected_provider.create_issue(title, labels, u'{}\n{}'.format(desc, additional_info))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users/Principal/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\report\providers\github.py", line 88, in create_issue
    return resp['html_url'], resp['number']
           ~~~~^^^^^^^^^^^^
KeyError: 'html_url'

scpplugin 2.0, QGIS 3.40.4-Bratislava on Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions