Skip to content

Commit

Permalink
Fix signature of showException in test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson authored and github-actions[bot] committed Nov 30, 2021
1 parent 0343384 commit 13c100d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .docker/qgis_resources/test_runner/qgis_startup.py
Expand Up @@ -6,11 +6,12 @@
~/.qgis3/python/startup.py
"""
from qgis.core import Qgis
from qgis import utils
import traceback


def _showException(type, value, tb, msg, messagebar=False):
def _showException(type, value, tb, msg, messagebar=False, level=Qgis.Warning):
print(msg)
logmessage = ''
for s in traceback.format_exception(type, value, tb):
Expand Down

0 comments on commit 13c100d

Please sign in to comment.