After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 780113 - pasteManager: Fix warning when query_info() fails
pasteManager: Fix warning when query_info() fails
Status: RESOLVED FIXED
Product: polari
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Polari maintainers
Polari maintainers
Depends on:
Blocks:
 
 
Reported: 2017-03-15 22:07 UTC by Florian Müllner
Modified: 2017-03-22 10:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
pasteManager: Fix warning when query_info() fails (2.41 KB, patch)
2017-03-15 22:07 UTC, Florian Müllner
committed Details | Review

Description Florian Müllner 2017-03-15 22:07:51 UTC
See patch.
Comment 1 Florian Müllner 2017-03-15 22:07:55 UTC
Created attachment 348041 [details] [review]
pasteManager: Fix warning when query_info() fails

The error path uses a local variable that's only defined in the
caller, whoops. So just allow the exception to bubble up and
handle the error there.
Comment 2 Florian Müllner 2017-03-22 10:15:50 UTC
Attachment 348041 [details] pushed as a690896 - pasteManager: Fix warning when query_info() fails