Skip to content

Commit

Permalink
Merge pull request #21 from lsst-sqre/tickets/DM-48121
Browse files Browse the repository at this point in the history
Add type=results to Resource in Error VOTable
  • Loading branch information
stvoutsin authored Dec 12, 2024
2 parents c4e61fa + 5709d53 commit 5cffe46
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions changelog.d/20241212_200622_steliosvoutsinas_DM_48121.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!-- Delete the sections that don't apply -->

### Bug fixes

- Fixed missing attribute (type) in VOTable Error resource element
4 changes: 2 additions & 2 deletions src/sia/templates/votable_error.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<VOTABLE version="1.3" xmlns="http://www.ivoa.net/xml/VOTable/v1.3">
<RESOURCE>
<RESOURCE type="results">
<INFO name="QUERY_STATUS" value="ERROR">{{ error_message }}</INFO>
</RESOURCE>
</VOTABLE>
</VOTABLE>

0 comments on commit 5cffe46

Please sign in to comment.