Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sakia
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Smedegaard
sakia
Commits
7acdf0b3
Commit
7acdf0b3
authored
4 years ago
by
Vincent Texier
Browse files
Options
Downloads
Patches
Plain Diff
[fix] #809 fix obsolete link to github if exception occurs
parent
d33cb9f9
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/sakia/constants.py
+1
-0
1 addition, 0 deletions
src/sakia/constants.py
src/sakia/main.py
+5
-1
5 additions, 1 deletion
src/sakia/main.py
with
6 additions
and
1 deletion
src/sakia/constants.py
+
1
−
0
View file @
7acdf0b3
...
...
@@ -11,3 +11,4 @@ GITLAB_RELEASES_PAGE_URL = "https://git.duniter.org/clients/python/sakia/-/relea
GITLAB_RELEASES_API_URL
=
(
"
https://git.duniter.org/api/v4/projects/clients%2Fpython%2Fsakia/releases
"
)
GITLAB_NEW_ISSUE_PAGE_URL
=
"
https://git.duniter.org/clients/python/sakia/-/issues/new
"
This diff is collapsed.
Click to expand it.
src/sakia/main.py
+
5
−
1
View file @
7acdf0b3
...
...
@@ -9,6 +9,8 @@ from PyQt5.QtCore import Qt, QObject, QCoreApplication
from
PyQt5.QtWidgets
import
QApplication
,
QMessageBox
,
QDialog
,
QPushButton
,
QLabel
from
duniterpy.api.errors
import
DuniterError
from
sakia.constants
import
GITLAB_NEW_ISSUE_PAGE_URL
from
sakia.helpers
import
single_instance_lock
,
cleanup_lock
from
quamash
import
QSelectorEventLoop
from
sakia.errors
import
NoPeerAvailable
...
...
@@ -129,7 +131,9 @@ def exception_message(log_lines, exc_info):
QMessageBox
.
Critical
,
"
Critical error
"
,
"""
A critical error occured. Select the details to display it.
Please report it to <a href=
'
https://github.com/duniter/sakia/issues/new/
'
>the developers github</a>
"""
,
Please report it to <a href=
'
{}
'
>the developers Gitlab</a>
"""
.
format
(
GITLAB_NEW_ISSUE_PAGE_URL
),
QMessageBox
.
Ok
,
QApplication
.
activeWindow
(),
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment