Skip to content

Commit

Permalink
Fixes issue with incorrect tile validation error messages. re #4375
Browse files Browse the repository at this point in the history
  • Loading branch information
chiatt committed Dec 24, 2019
1 parent 50b5d1e commit 538899d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arches/app/views/tile.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def handle_save_error(self, e, tile_id="", title=_("Saving tile failed"), messag
)
)

return JSONErrorResponse(_(title), _(str(message)))
return JSONErrorResponse(_(title), _(str(message)), {"message": message, "title": title})

def post(self, request):
if self.action == "update_tile":
Expand Down

0 comments on commit 538899d

Please sign in to comment.