Skip to content

Commit

Permalink
Try and show the message
Browse files Browse the repository at this point in the history
  • Loading branch information
oorestisime committed Jan 12, 2016
1 parent 743260b commit 757eb5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{% block title %}Error{% endblock %}
{% block content %}
<h2>{{ self.title() }}</h2>
<p>Parsing The debian/copyright file yields a Value error. The error is {{error}}
<p>Parsing the debian/copyright file yields a Value error. The error is {{error}}

<p><a href="{{ url_for('sources.source', path_to=(package +'/'+version+'/debian/copyright'))}}">View raw copyright file</a></p>
</p>
Expand Down
2 changes: 1 addition & 1 deletion debsources/app/copyright/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def get_objects(self, path_to):
c, "/src/" + package + "/" + version + "/"),
licenses=helper.parse_licenses_for_html_render(c))
except ValueError as e:
raise CopyrightValueError(package, version, str(e))
raise CopyrightValueError(package, version, e.message)


class ChecksumLicenseView(ChecksumView):
Expand Down

0 comments on commit 757eb5a

Please sign in to comment.