Improve error context

This commit is contained in:
Daniel García Aubert
2017-12-18 19:35:12 +01:00
parent e2bd97eea6
commit 2dda0a80da
3 changed files with 17 additions and 5 deletions
+7 -2
View File
@@ -456,9 +456,14 @@ describe('aggregation', function () {
' Aggregation is available only for geometry type: ST_Point'
],
errors_with_context:[{
type: 'unknown',
type: 'layer',
message: 'Unsupported geometry type: ST_Polygon.' +
' Aggregation is available only for geometry type: ST_Point'
' Aggregation is available only for geometry type: ST_Point',
layer: {
id: 'layer0',
index: 0,
type: 'mapnik'
}
}]
});