Skip to content

Commit c34f23c

Browse files
committed
[processing] add missed information to the error message (fix #18049)
1 parent b6b394c commit c34f23c

File tree

1 file changed

+1
-1
lines changed
  • python/plugins/processing/algs/qgis

1 file changed

+1
-1
lines changed

python/plugins/processing/algs/qgis/Merge.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def processAlgorithm(self, progress):
8181
if (dfield.type() != sfield.type()):
8282
raise GeoAlgorithmExecutionException(
8383
self.tr('{} field in layer {} has different '
84-
'data type than in other layers.'))
84+
'data type than in other layers.'.format(sfield.name(), layer.name())))
8585

8686
if not found:
8787
fields.append(sfield)

0 commit comments

Comments
 (0)