Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] add missed information to the error message (fix #18049)
  • Loading branch information
alexbruy committed Feb 6, 2018
1 parent b6b394c commit c34f23c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/Merge.py
Expand Up @@ -81,7 +81,7 @@ def processAlgorithm(self, progress):
if (dfield.type() != sfield.type()):
raise GeoAlgorithmExecutionException(
self.tr('{} field in layer {} has different '
'data type than in other layers.'))
'data type than in other layers.'.format(sfield.name(), layer.name())))

if not found:
fields.append(sfield)
Expand Down

0 comments on commit c34f23c

Please sign in to comment.